Could not find the main class: org.eclipse.ant.internal.launching.remote.InternalAntRunner. Program
来源:互联网 发布:用java编写简易画板 编辑:程序博客网 时间:2024/06/10 05:00
Could not find the main class: org.eclipse.ant.internal.launching.remote.InternalAntRunner. 最近更新了eclipse,发现运行ant不好使来了,报的异常如标题所示。然后各种百度,尼玛!我只想说百度上写这些bug文档的人,能不能别乱写啊,艹。按照上面所说各种尝试,都不行。没办法,还是去Google吧。
I just installed Mars and when I tried to execute a build.xml after checking out an existing and working project I got that error message:Could not find the main class: org.eclipse.ant.internal.launching.remote.InternalAntRunner. Program will exit.The solution is to go to Run as → External tools configuration… → JRE where the default was set to “Separate JDK”: jdk1.6.0_31 (I had set up JDKs 6-8 in Preferences after installing). I changed this to “run in the same JRE as the workspace” and now it works.Bug fix would be to provide a working default configuration with setup. Configuration should be in a way it does not break if the user adds additional JDKs to Preferences.
原文地址:https://bugs.eclipse.org/bugs/show_bug.cgi?id=472599。噢啦,问题搞定!
0 0
- Could not find the main class: org.eclipse.ant.internal.launching.remote.InternalAntRunner. Program
- Could not find the main class: org.eclipse.ant.internal.launching.remote.InternalAntRunner. Program
- Could not find the main class: org.eclipse.ant.internal.launching.remote.InternalAntRunner. Program
- Could not find the main class: org.eclipse.ant.internal.launching.remote.InternalAntRunner
- web项打包报错 could not find the main class: org.eclipse.ant.internal.launching.remote.InternalAntRunner.
- [Eclipse] Could not find the main class. Program will exit
- Could not find the main class: org.apache.spark.launcher.Main. Program will exit.
- [ejbdoclet] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:
- Could not find the main class: org.apache.catalina.startup.Boostrap. Program will exit
- Could not find the main class: org.apache.catalina.startup.Boostrap. Program will exit
- Could not find the main class: org.apache.catalina.startup.Boostrap. Program will exit
- Could not find the main class: org.elasticsearch.bootstrap.Elasticsearch. Program will exit.
- Could not find the main class: org.apache.catalina.startup.Boostrap. Program will exit
- Could not find the main class: org.apache.catalina.startup.Boostrap. Program will exit.
- Could not find the main class: org.elasticsearch.bootstrap.Elasticsearch. Program will exit.
- myeclipse中Could not find the main class: org.apache.catalina.startup.Boostrap. Program will exit
- Eclipse could not find the main class
- Could not find the main class. Program will exit
- oracle的存储过程实现字段类型的替换
- PHP支持断点续传,分块下载的类
- FragmentTabHost的简单使用
- perl JMX::Jmx4Perl::Manual 说明
- 微信小程序入门之构建一个简单TODOS应用
- Could not find the main class: org.eclipse.ant.internal.launching.remote.InternalAntRunner. Program
- java网络编程____Apache-net telnet命令操作
- 项目群管理
- C语言编程规范之我见——变量初始化
- 自己实现的stack模板类
- MySQL中redo日志
- SOCKET、TCP/IP、UDP、HTTP、FTP总结
- 做开发颈椎疼
- P1025 数的划分(洛谷)DFS或者DP