tomcat启动报Exception in thread main java.lang.NoClassDefFoundError: less=true
摘要:tomcat启动报Exception in thread main java.lang.NoClassDefFoundError: less=true
Exception in thread "main" java.lang.NoClassDefFoundError: less=true
Caused by: java.lang.ClassNotFoundException: less=true
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Caused by: java.lang.ClassNotFoundException: less=true
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: less=true. Program will exit.
问题分析
我是装了一个tomcat7.0.55
用jdk1.6启动他,所以报错
解决办法
装个jdk1.7吧
用jdk1.7启动它就正常了
相关文章
最新发布
阅读排行
热门文章
猜你喜欢