摘要: 步骤1 右键项目 点击Project Facets 修改里面的 Dynamic Web Module 成2.5 maven-update看下有没有解决 步骤2 没有就导入 <dependency> <groupId>javax.servlet</groupId> <artifactId>servle 阅读全文
posted @ 2017-03-02 17:01 lgp20151222 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 在项目的pom.xml增加 <build> <finalName>xxxxxxxx</finalName> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin 阅读全文
posted @ 2017-03-02 16:48 lgp20151222 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 这时候需要右击项目——>Java EE Tools——>Generate Deployment Descriptor Stub .然后系统会在src/main/webapp/WEB_INF文件加下创建web.xml文件。错误解决! 当然这个方法是针对web项目的解决方案,如果你的工程不是web项目, 阅读全文
posted @ 2017-03-02 16:38 lgp20151222 阅读(161) 评论(0) 推荐(0) 编辑