D
D
djdnkey2021-10-16 12:37:41
Java
djdnkey, 2021-10-16 12:37:41

What is the reason for the error when starting tomcat from intellij idea?

I have installed:
1. intellij idea
2. tomcat 9
3. Application on spring boot

In file -> project structure, I created a war exploded artifact of type web application exploded
In the apache settings in the deploy tab, I added the artifact

When I run the assembly and deploy application, I get the following mistake

2021-10-16 14:29:33.131 INFO 18286 --- [on(2)-127.0.0.1] flower.flower.FlowerApplication : Started FlowerApplication in 9.203 seconds (JVM running for 23.238)
16-Oct-2021 14:29 :33.151 SEVERE [RMI TCP Connection(2)-127.0.0.1] org.apache.tomcat.util.modeler.BaseModelMBean.invoke Exception invoking method [manageApp]
java.lang.IllegalStateException: Error starting child
at org.apache.catalina. core.ContainerBase.addChildInternal(ContainerBase.java:729)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:698)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:696)
at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1783)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base
/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)


What could be the reason?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question