C
1、异常信息:
java.lang.ClassNotFoundException: cn.itcast.servlet.BaseServlet
.....
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
java.lang.Thread.run(Thread.java:748)
2、解决方案:
3、总结:
导入jar包位置:WEB-INF下中的lib文件夹下(必须是lib文件夹)
1.异常信息
idea 报错 Cannot run program
"C:\Program Files\Java\jdk1.8.0_121\bin\java" (in directory "G:\MAVENPROJECT\jpush-api-java-client-3.3.3"):
CreateProcess error=2,
2.解决方案
3.总结
maven找不到路径,
无法运行项目