常见问题
P1um
这个作者很懒,什么都没留下…
展开
-
web.xml常遇报错
在Ecplise中有时候经常在配置web.xml中报错,明明代码写对了可还是报如下错误 Multiple annotations found at this line: cvc-complex-type.2.4.a: Invalid content was found starting with element ‘mapping-file’. One of ‘{“http://xmlns.jcp.org/xml/ns/persistence”:shared- cache-mode, “http://xml原创 2020-12-02 10:25:00 · 742 阅读 · 1 评论 -
已经导入aspectjweaver maven坐标却无法import
从maven官网复制下来的坐标 <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjweaver</artifactId> <version>1.9.6</version> <scope>runtime</scope> </dependency> 问题原因:scope是runtime原创 2020-11-29 12:18:14 · 1070 阅读 · 0 评论 -
spring集成junit出现initializationerror:method initializationerror not found问题处理
spring集成junit出现initializationerror:method initializationerror not found问题处理 问题原因:缺少相关jar包 除了导入 junit-4.12.jar 还要导入 hamcrest-core-1.3.RC2.jar hamcrest-library-1.3.RC2.jar maven坐标 <dependency> <groupId>junit</groupId> <artifactId原创 2020-11-28 21:10:51 · 157 阅读 · 0 评论