1.新建项目后出现:Could not caculate build plan:plugin

解决方法:删除本地.m2仓库中 org.apache.maven.plugins:maven-resources-plugin所在目录。然后右击项目 Maven->Update Project->勾选 Force Update of       Snapshots/Releases

2.点击finish后,提示“Discover and map Eclipse plugins to Maven plugin goal executions”并且在pom文件中错误提示“Plugin execution not covered by lifecycle configuration”

解决方法:

参考该大神:https://www.cnblogs.com/hzhuxin/archive/2012/06/17/2552998.html

测试发现修改后新建项目还是报同样错误,自己将repo/org/apache/maven/plugins/目录下对应的包删除同时将eclipse还原后,新建maven项目就不提示Discover问题了。

3.项目创建好后,jsp报错“The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path”

解决方法:pom文件中增加以下内容:

<dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> <version>2.5</version> <scope>provided</scope> </dependency>

  或者:<dependency><groupId>javax</groupId><artifactId>javaee-api</artifactId><version>7.0</version></dependency>

其中version按照自己需要修改

p.p1 { margin: 0; text-indent: 0.1px; font: 11px ".AppleSystemUIFont" }
p.p1 { margin: 0; text-indent: 0.1px; font: 11px ".AppleSystemUIFont" }
p.p1 { margin: 0; font: 12px Menlo; color: rgba(63, 127, 127, 1) }
span.s1 { color: rgba(0, 128, 128, 1) }
span.s2 { color: rgba(0, 0, 0, 1) }
span.Apple-tab-span { white-space: pre }

最新文章

  1. codeforces round #234B(DIV2) C Inna and Huge Candy Matrix
  2. Android开源源码推荐(一)
  3. The file &#39;MemoryStream&#39; is corrupted! 的解决办法
  4. java之多态(Polymorphic)、动态绑定(Dynamic Binding)、迟绑定(Late Binding)
  5. oracle create table(转)
  6. RESideMenu左右半侧滑的功能实现,主视图会和状态栏(StatusBar)不会随着一起滑动
  7. hdu 2102 A计划
  8. 一张思维导图说明jQuery的AJAX请求机制
  9. Sharepoint 2013 安装部署系列篇 第一篇 -- 系统集群安装
  10. Android Sqlite 使用 注意事项
  11. 【charger battery 充電 充電器 電池】過充保護警告訊息 over charging protection,Battery over voltage protection, warning message
  12. mysq参数sql_safe_updates限制范围
  13. Java中的String、StringBuilder以及StringBuffer
  14. 《Python量化交易教程》第一部分新手入门 第1天:谁来给我讲讲Python?
  15. mysql_函数
  16. idea编辑器激活码
  17. Python之DataFrame常用方法小结
  18. 【题解】Luogu P2319 [HNOI2006]超级英雄
  19. c++11 追踪返回类型
  20. POJ.1379.Run Away(模拟退火)

热门文章

  1. MySQL索引 及 EXPLAIN
  2. WDA学习(23):UI Element:Radio Button Group &amp; CheckBox Group使用
  3. TypeScript - 配置文件 tsconfig.json
  4. 自定义go语言日志输出
  5. django自定义管理类的save model和delete model记一次进一步了解
  6. C# 以管理员方式运行程序
  7. 使用Wireshark完成实验2-TCP
  8. Kafka的启动 并创建topic
  9. windows安装kafka
  10. 使用 Application Loader 上传 IPA 包失败。提示信息:Please sign in with an app-specific password. You can create one at appleid.apple.com