Tomcat 7 with IntelliJ 12

Hi All,

I am newbie for IntelliJ. I want to configure deploy project to localhost tomcat 7 from idea 12, I am getting the below error. In tomcat7 the respective JAR file is available. I am using Java SDK 7. I am able to deploy it externally. What is the issue?

Artifact SprMVC3Hib4:war exploded: Server is not connected. Deploy is not available.
java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory
 at org.apache.catalina.startup.Bootstrap.<clinit>(Bootstrap.java:60)
Caused by: java.lang.ClassNotFoundException: org.apache.juli.logging.LogFactory
 at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
 at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
 ... 1 more

Thanks
sankar

2 comments

Looks like you need to put tomcat-juli.jar in the lib directory of Tomcat.

0

Hi,

The jar is already available in tomcat bin folder.

Thanks
Sankar

0

Please sign in to leave a comment.