-
Notifications
You must be signed in to change notification settings - Fork 9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to run project war in tomcat #220
Comments
If you be more specific it will be easy to understand and help you.
…On Tue, 30 Jul 2024 at 5:51 PM, ssrrandj ***@***.***> wrote:
Hi All,
Any body is having issues while running project.war file in tomcat. My
problem is unable to run project in tomcat. Please respond on this
—
Reply to this email directly, view it on GitHub
<#220>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/A7XBBXIMRPERAKJKK2Z6XSTZO6ANFAVCNFSM6AAAAABLWIEH22VHI2DSMVQWIX3LMV43ASLTON2WKOZSGQZTONZQGYZDAMY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Iam trying with tomcat 9 and 10 to host vprofile(aws-LiftAndShift) project but it seems like tomcat is getting some error while parsing project the result is its not displaying in browser. When check logs found this error. SEVERE [main] org.apache.catalina.core.StandardContext.listenerStart Error configuring application listener of class [org.springframework.web.context.ContextLoaderListener] |
Were you able to build the artifact successfully?
The error is pointing to a missing or mismatch of java.servlet library. I
would be checking Pom.xml for further investigation.
…On Tue, 30 Jul 2024 at 7:03 PM, ssrrandj ***@***.***> wrote:
Iam trying with tomcat 9 and 10 to host vprofile(aws-LiftAndShift) project
but it seems like tomcat is getting some error while parsing project the
result is its not displaying in browser. When check logs found this error.
SEVERE [main] org.apache.catalina.core.StandardContext.listenerStart Error
configuring application listener of class
[org.springframework.web.context.ContextLoaderListener]
java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener
—
Reply to this email directly, view it on GitHub
<#220 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A7XBBXMNNH6CDIEIRPIGIGDZO6IY7AVCNFSM6AAAAABLWIEH22VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJYGM3DGOBVGI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Yes iam able to build artifact. Thanks |
If you have checked Pom.xml try to check for more logs using systemctl
status tomcat and check for logfiles inside tomcat working directory
example: /usr/local/tomcat9
…On Tue, 30 Jul 2024 at 7:03 PM, ssrrandj ***@***.***> wrote:
Iam trying with tomcat 9 and 10 to host vprofile(aws-LiftAndShift) project
but it seems like tomcat is getting some error while parsing project the
result is its not displaying in browser. When check logs found this error.
SEVERE [main] org.apache.catalina.core.StandardContext.listenerStart Error
configuring application listener of class
[org.springframework.web.context.ContextLoaderListener]
java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener
—
Reply to this email directly, view it on GitHub
<#220 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A7XBBXMNNH6CDIEIRPIGIGDZO6IY7AVCNFSM6AAAAABLWIEH22VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJYGM3DGOBVGI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I can share the logs. I tried my best but unable to find the cause. Also please check web.xml file once and project directory structure. |
tomcat localhost.log Error creating bean with name 'userRepository': Invocation of init method failed; nested exception is java.lang.IllegalStateException: java.lang.reflect.InaccessibleObjectException: Unable to make java.lang.invoke.MethodHandles$Lookup(java.lang.Class) accessible: module java.base does not "opens java.lang.invoke" to unnamed module @2588edc. localhost_access_log.2024-07-30.txt |
Iam able to build war file but with most errors. Caused by: java.io.IOException: Error while instrumenting sun/nio/cs/ext/IBM1097. This is just some part of error log while building war out of vproject |
build.log |
Hi All,
Any body is having issues while running project.war file in tomcat. My problem is unable to run project in tomcat. Please respond on this
The text was updated successfully, but these errors were encountered: