idea启动tomcat错误,提示找不到或无法加载主类 # 20
E:\apache-tomcat-7.0.29\apache-tomcat-7.0.29\bin\catalina.batrun[2013-11-1211:26:08,0...
E:\apache-tomcat-7.0.29\apache-tomcat-7.0.29\bin\catalina.bat run
[2013-11-12 11:26:08,037] Artifact fishjoy:war exploded: Server is not connected. Deploy is not available.
Using CATALINA_BASE: "C:\Users\Administrator\.IntelliJIdea12\system\tomcat\Unnamed_recreation-room"
Using CATALINA_HOME: "E:\apache-tomcat-7.0.29\apache-tomcat-7.0.29"
Using CATALINA_TMPDIR: "E:\apache-tomcat-7.0.29\apache-tomcat-7.0.29\temp"
Using JRE_HOME: "C:\jdk1.7.0_25"
Using CLASSPATH: "E:\apache-tomcat-7.0.29\apache-tomcat-7.0.29\bin\bootstrap.jar;E:\apache-tomcat-7.0.29\apache-tomcat-7.0.29\bin\tomcat-juli.jar"
Connected to the target VM, address: '127.0.0.1:3944', transport: 'socket'
错误: 找不到或无法加载主类 # 展开
[2013-11-12 11:26:08,037] Artifact fishjoy:war exploded: Server is not connected. Deploy is not available.
Using CATALINA_BASE: "C:\Users\Administrator\.IntelliJIdea12\system\tomcat\Unnamed_recreation-room"
Using CATALINA_HOME: "E:\apache-tomcat-7.0.29\apache-tomcat-7.0.29"
Using CATALINA_TMPDIR: "E:\apache-tomcat-7.0.29\apache-tomcat-7.0.29\temp"
Using JRE_HOME: "C:\jdk1.7.0_25"
Using CLASSPATH: "E:\apache-tomcat-7.0.29\apache-tomcat-7.0.29\bin\bootstrap.jar;E:\apache-tomcat-7.0.29\apache-tomcat-7.0.29\bin\tomcat-juli.jar"
Connected to the target VM, address: '127.0.0.1:3944', transport: 'socket'
错误: 找不到或无法加载主类 # 展开
展开全部
操作系统是什么,我曾遇到过类似的问题,后来换了X86的TOMCAT,问题解决。操作系统是64位的。灰常妖怪。
追问
已经找到问题了。是我设置apache内存大小的时候 代码多了#引起的 ,不过还是谢谢
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
你直接再intellij 终端输入/Library/Tomcat/bin/catalina.sh run,回车就行了
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |