请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

运行错误

Warning:java: 源值1.5已过时, 将在未来所有发行版中删除

Warning:java: 目标值1.5已过时, 将在未来所有发行版中删除

Warning:java: 要隐藏有关已过时选项的警告, 请使用 -Xlint:-options。


正在回答 回答被采纳积分+3

5回答

moocer 2017-04-23 20:27:37

看下3-4的视频,启动下tomcat试试

0 回复 有任何疑惑可以回复我~
moocer 2017-04-23 11:35:04

这是个警告,不是错误

原因是idea默认使用的jdk是1.5

0 回复 有任何疑惑可以回复我~
提问者 Hankjj 2017-04-25 10:23:29

老师 麻烦帮我看看 这是怎么回事 已经纠结几天了

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.3:run (default-cli) on project IDEAJAVALESSON: Error executing Jetty: Address already in use: bind -> [Help 1]

[ERROR] 

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR] 

[ERROR] For more information about the errors and possible solutions, please read the following articles:


0 回复 有任何疑惑可以回复我~
  • moocer #1
    org.apache.maven.plugins:maven-site-plugin:3.3没有下载下来吧?
    回复 有任何疑惑可以回复我~ 2017-04-25 15:20:17
提问者 Hankjj 2017-04-24 21:07:22

Run/Debug Configurations”,里面没有tomcat server选项,是因为版本的原因,还是别的原因,下面是提示,麻烦老师解答

INFO] Logging to org.slf4j.impl.MavenSimpleLogger(org.mortbay.log) via org.mortbay.log.Slf4jLog

[WARNING] Report plugin org.apache.maven.plugins:maven-project-info-reports-plugin has an empty version.

[WARNING] 

[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.

[WARNING] 

[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.

[INFO] configuring report plugin org.apache.maven.plugins:maven-project-info-reports-plugin:2.9

[WARNING] Report plugin org.apache.maven.plugins:maven-project-info-reports-plugin has an empty version.

[WARNING] 

[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.

[WARNING] 

[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.

[INFO] configuring report plugin org.apache.maven.plugins:maven-project-info-reports-plugin:2.9

[INFO] Relativizing decoration links with respect to project URL: http://www.tortuous.com

[INFO] Rendering site with org.apache.maven.skins:maven-default-skin:jar:1.0 skin.

[INFO] Starting Jetty on http://localhost:8080/

[INFO] jetty-6.1.25

[INFO] NO JSP Support for /, did not find org.apache.jasper.servlet.JspServlet

[INFO] Started SelectChannelConnector@0.0.0.0:8080


0 回复 有任何疑惑可以回复我~
提问者 Hankjj 2017-04-23 13:05:07

但是我运行main没有出现结果,这是提示,maven我没用idea内置的,重新下载了一个maven,pom.xml也没用错,生成了maven project 但就是不输出结果

[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.

[INFO] configuring report plugin org.apache.maven.plugins:maven-project-info-reports-plugin:2.9

Downloading: https://repo.maven.apache.org/maven2/ch/ethz/ganymed/ganymed-ssh2/build210/ganymed-ssh2-build210.jar

Downloaded: https://repo.maven.apache.org/maven2/ch/ethz/ganymed/ganymed-ssh2/build210/ganymed-ssh2-build210.jar (245 kB at 406 B/s)

[WARNING] Report plugin org.apache.maven.plugins:maven-project-info-reports-plugin has an empty version.

[WARNING] 

[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.

[WARNING] 

[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.

[INFO] configuring report plugin org.apache.maven.plugins:maven-project-info-reports-plugin:2.9

[WARNING] No project URL defined - decoration links will not be relativized!

Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/skins/maven-default-skin/1.0/maven-default-skin-1.0.jar


0 回复 有任何疑惑可以回复我~
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信