java错误排查
古美門
一枚小程序员
展开
-
eclipse创建maven项目报Could not calculate build plan: Plugin org.apache.maven.plugins:maven-war-plugin:2.
创建maven项目eclipse报下面错误:Could not calculate build plan: Plugin org.apache.maven.plugins:maven-war-plugin:2.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for or原创 2017-10-21 22:48:40 · 9413 阅读 · 3 评论 -
导入web项目报no projects are found to import eclipse解决方式
转载自云栖社区: https://yq.aliyun.com/articles/37881摘要: 如果发导入工程import的时候,出现”No projects are found to import” 的提示, 首先查看项目目录中是否有隐藏文件.project,还有目录结构也还要有一个隐藏文件.classpath, 如果没有,你可以参考一下方法 方法1: 最直接的操作,可以把其它转载 2017-10-22 00:01:09 · 1631 阅读 · 0 评论 -
tomcat运行时出现了Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]等错误
tomcat运行时出现了Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]等错误eclipse导入web项目出现java.lang.NoSuchMethodError: javax.servlet.ServletContext.getSessionCookieConfig 就是转载 2017-10-22 19:27:02 · 1105 阅读 · 0 评论 -
Type mismatch: cannot convert from Controller to Annotation错误解决方式
写controller的时候报这个错误看上面字面意思是说类型不匹配:不能从控制器转换为注释仔细一看发现这好像是:同名了,注意导包应该可以;解决方式: 第一种方式:把你的controller改个名字; 第一种方式:要么注解写全限定名 比如:@xxx.xxx.xxx.Controller问题解决原创 2017-10-23 10:11:35 · 14030 阅读 · 0 评论 -
解决Tomcat version 7.0 only supports J2EE 1.2, 1.3, 1.4, and Java EE 5 and 6 Web modules
转载至:http://blog.csdn.net/longtingjing/article/details/53557947Tomcat version 7.0 only supports J2EE 1.2, 1.3, 1.4, and Java EE 5 and 6 Web modules1.在eclipse的workspace里面找到该项目.settings文件夹转载 2017-10-23 15:22:00 · 479 阅读 · 0 评论 -
解决Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.2019-05-30 11:14:43.970 ERROR 6208 --- [ main] o.s.b.d.LoggingFailureAnalys...原创 2019-05-30 12:25:05 · 5912 阅读 · 0 评论