由于缺少类路径引用,Ant构建Eclipse Mars失败(Ant build with Eclipse Mars fails due to missing classpath reference)
我最近搬到了Eclipse Mars并安装了JDK 8u51。 我在Eclipse中使用了JBoss Tools插件,并有几个Ant文件来构建我的项目。
但是,当我在Ant视图中双击构建文件时,我的项目将不会构建。 相反,我得到这个错误信息:
The archive: C:/Program%20Files%20(x86)/Eclipse%20Mars/plugins/org.eclipse.swt.win32.win32.x86_64_3.104.0.v20150528-0211.jar which is referenced by the classpath, does not exist.
我检查了文件系统,JAR实际上在那里。 任何想法如何我可以解决这个问题? 也许它是路径名中的空格(
%20
)?不幸的是,我不知道这个依赖来自哪里。 在“ 外部工具配置”中,它位于“ 其他任务和支持”下 ,但我无法在其中编辑条目。 我也没有找到任何其他可以实际配置此参考的对话框。
I recently moved to Eclipse Mars and installed JDK 8u51. I'm using the JBoss Tools plugin with my Eclipse and have a couple of Ant files to build my projects.
When I double-click on a build file in the Ant view, however, my project won't built. Instead I get this error message:
The archive: C:/Program%20Files%20(x86)/Eclipse%20Mars/plugins/org.eclipse.swt.win32.win32.x86_64_3.104.0.v20150528-0211.jar which is referenced by the classpath, does not exist.
I checked the file system and the JAR is actually there. Any ideas how I could fix that? Maybe it's the spaces (
%20
) in the path name?Unfortunately, I don't know where this dependency comes from. In the External Tools Configuration it is under Additional Tasks & Support, but I cannot edit the entry there. Nor did I find any other dialog where I can actually configure this reference.
原文:https://stackoverflow.com/questions/31447926
最满意答案
相关问答
更多-
自Apache / Ubuntu升级以来,新的Virtualhosts加载默认站点(New Virtualhosts load default site since Apache/Ubuntu upgrade)[2023-12-05]
在创建时,第一个选项是要将域绑定到哪个IP。 这是您针对您的域名DNS定义的非常IP。 但只有在conf文件中绑定了带端口的IP时才需要这样做。 默认情况下它的*:80 。 所以不需要绑定。 While creating, first option is which IP you want to bind you domain to. That is very IP you have defined against your domain DNS. But that is only needed if yo ... -
您必须从全局Apache配置文件中删除include conf.d的行,并可以选择将其添加到您自己的专用虚拟主机配置文件中。 You have to delete the line include conf.d from the global Apache configuration file, and optionally add it to your own private virtual host configuration file.
-
至于配置apache: 您需要启动go应用程序,并在apache配置反向代理中向端口8080(您编写的go守护程序监听)发送请求。 go应用程序需要始终运行,因此您可能需要在系统启动时引导它。 与从apache调用的php不同,go应该以始终存在的二进制运行。 至于你的端口问题: 确保您的应用程序尚未启动,并且没有其他应用程序正在侦听端口8080.(您可以使用netstat -talpen来查看) 编辑:端口8080通常是一个http代理。 是否有代理或其他应用程序在这一点上运行? 编辑:你可以像这样配置你 ...
-
我发现该虚拟主机配置没有任何问题。 但是您确定要检查健康检查的URL是否在/ var / www / html / landingpage下可用? 如果将健康检查配置为检查/,则Web服务器上的某些内容必须出错,即登陆页目录不存在或不包含正确的权限。 没有更多数据很难说。 也许发布Web服务器错误日志? 你ELB配置? I see nothing wrong with that Virtualhost configuration. But are you sure the URL to check for ...
-
不知何故,Apache的默认文件没有启用网站的符号链接。 路径在下面提到以供参考。 /etc/apache2/sites-available/default was not pointing to /etc/apache2/sites-enabled/000-default. 因此创建了一个符号链接,它工作正常:) Somehow default file of Apache was not having a symbolic link to sites-enabled. Path is mentione ...
-
你用fqdn创建你的虚拟主机,例如example.com.conf和example.org.conf You create your virtual host with the fqdn, eg, example.com.conf and example.org.conf
-
在部署到子URI Passenger文档中记录了正确的解决方案: 假设您已经拥有虚拟主机:
ServerName www.phusion.nl DocumentRoot /websites/phusion 并且您希望可以从URL http://www.phusion.nl/su ...Allow from all -
要修复此问题以及在apache 2.4上运行的任何其他虚拟主机,我需要设置 默认(以及任何其他虚拟主机) 如 default.conf(添加.conf已经设置的任何虚拟主机) 输入控制台(终端)并键入以下命令: sudo mv / etc / apache2 / sites-available / default /etc/apache2/sites-available/default.conf sudo a2ensite默认 我们将得到以下结果: Enabling site default. To act ...
-
您需要运行sudo a2ensite dynamics以启用动态conf(或者您可以手动将其符号链接到启用了站点),然后使用sudo /etc/init.d/apache2 restart启动Apache。 编辑看起来另一个问题是您尝试将虚拟主机与不存在且与您的计算机无关的域名关联,即dynamics 。 如果你想这样访问它,你需要编辑你的/etc/hosts以将该名称指向你的localhost:将这一行添加到该文件: 127.0.0.1 dynamics 不要忘记,这只是你的机器的黑客攻击。 对于 ...
-
Apache 2.2忽略VirtualDocumentRoot VirtualHosts?(Apache 2.2 ignoring VirtualDocumentRoot VirtualHosts?)[2023-09-22]
我是一个菜鸟,这是一个真正简单的解决方案。 ServerName不允许使用通配符,但ServerAlias可以,所以我只是重复了servername。 这里是最后一个最小化的配置域的任何人谁发现这个答案(我讨厌它,当你在谷歌搜索和找到问题,但没有答案):ServerName domain1.com ServerAlias www.domain1.com DocumentRoot /home/user1/public_html < ...