Built war file doesn't deploy on tomcat

283 views
Skip to first unread message

Art Bryan Moldon

unread,
Mar 26, 2021, 3:13:21 AM3/26/21
to HAPI FHIR
Hello All,

I have pulled the hapi-fhir-jpaserver-starter version 4.0.0. I have put an AuthorizationServerConfig, WebSecurityConfigurerAdpater and ResourceServerConfig in order for it to have an OAuth 2.0 Authentication. Running it via the command "mvn jetty:run" works fine. But, when I build it via the command "mvn clean install" when I put the generated war file on tomcat, it doesn't deploy. It spouts the error:

SEVERE: Unable to process Jar entry [module-info.class] from Jar [jar:file:/var/lib/tomcat8/webapps/hapi-fhir-jpaserver/WEB-INF/lib/stax-ex-1.8.jar!/] for annotations org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 19

I hope someone can help me. Thank you!

pa.f....@gmail.com

unread,
Mar 26, 2021, 4:48:25 AM3/26/21
to HAPI FHIR
Reply all
Reply to author
Forward
0 new messages