gpt4 book ai didi

java - 未使用的 grails 2.0.3 安装缺少 SpringsourceTool Suite 2.9.2 : Complaining about groovy-all-1. 8.6.jar

转载 作者:行者123 更新时间:2023-12-02 13:58:00 25 4
gpt4 key购买 nike

我的沮丧无法用语言表达。我升级到 STS 2.9.2,希望能摆脱我在 2.9.1 中遇到的大量问题。现在看来问题更严重了。

除了 jline_.dll 问题,它不断提高其丑陋的头脑(我找到的唯一解决方案是退出 STS,删除 .ivy-cache,然后重新启动 STS),现在我什至无法运行我的任何项目,由于一些关于找不到 groovy-all-1.8.6.jar 的奇怪错误。

The archive: C:/springsource/**grails-2.0.3**/lib/org.codehaus.groovy/groovy-all/jars/groovy-all-1.8.6.jar which is referenced by the classpath, does not exist.

但是 - 我所有的项目都是为 grails 2.1.0 配置的!?!?

我需要在哪里找到这个对 grails 2.0.3 的恶意引用?

谢谢!

最佳答案

经过多次搜索,我发现了问题。错误是报告引用了 grails 2.0.3 jar,当然,这不是任何 Activity 项目中的设置首选项。我搜索了所有首选项和 .project 文件。没有找到任何东西。

然后我在 .metadata 中看到了文件:

./plang1/.metadata/.plugins/org.eclipse.debug.core/.launches/planG (run-app).launch:<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot
; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry externalArchive=&quot;C:/springsource/grails-2.0.3/lib/org.codehaus.groovy/groovy-all/jars/g
roovy-all-1.8.6.jar&quot; path=&quot;3&quot; type=&quot;2&quot;/&gt;&#13;&#10;"/>
./plang1/.metadata/.plugins/org.eclipse.debug.core/.launches/planG (run-app).launch:<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot
; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry externalArchive=&quot;C:/springsource/grails-2.0.3/dist/grails-bootstrap-2.0.3.jar&quot; pat
h=&quot;3&quot; type=&quot;2&quot;/&gt;&#13;&#10;"/>
./plang1/.metadata/.plugins/org.eclipse.debug.core/.launches/planG-Admin (run-app).launch:<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-
8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry externalArchive=&quot;C:/springsource/grails-2.0.3/lib/org.codehaus.groovy/groovy-all/
jars/groovy-all-1.8.6.jar&quot; path=&quot;3&quot; type=&quot;2&quot;/&gt;&#13;&#10;"/>
./plang1/.metadata/.plugins/org.eclipse.debug.core/.launches/planG-Admin (run-app).launch:<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-
8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry externalArchive=&quot;C:/springsource/grails-2.0.3/dist/grails-bootstrap-2.0.3.jar&quo
t; path=&quot;3&quot; type=&quot;2&quot;/&gt;&#13;&#10;"/>
./plang1/.metadata/.plugins/org.eclipse.debug.core/.launches/planG-Admin .launch:<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; s
tandalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry externalArchive=&quot;C:/springsource/grails-2.0.3/lib/org.codehaus.groovy/groovy-all/jars/groo
vy-all-1.8.6.jar&quot; path=&quot;3&quot; type=&quot;2&quot;/&gt;&#13;&#10;"/>
./plang1/.metadata/.plugins/org.eclipse.debug.core/.launches/planG-Admin .launch:<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; s
tandalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry externalArchive=&quot;C:/springsource/grails-2.0.3/dist/grails-bootstrap-2.0.3.jar&quot; path=&
quot;3&quot; type=&quot;2&quot;/&gt;&#13;&#10;"/>
./plang1/.metadata/.plugins/org.eclipse.search/dialog_settings.xml: <item value="/springsource/grails-2.0.3/lib/org.codehaus.groovy/groovy-a
ll/jars/groovy-all-1.8.6.jar" key="textPattern"/>

有内容
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="com.springsource.sts.grails.core.launchconfig">
<stringAttribute key="com.springsource.sts.grails.core.ORG_SCRIPT" value="run-app"/>
<stringAttribute key="com.springsource.sts.grails.core.PROJECT_DIR" value="C:\workspaces\plang1\planG"/>
<stringAttribute key="com.springsource.sts.grails.core.SCRIPT" value="run-app"/>
<booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/>
<mapAttribute key="org.eclipse.debug.core.environmentVariables">
<mapEntry key="GRAILS_STS_RUNNING" value="true"/>
</mapAttribute>
<listAttribute key="org.eclipse.jdt.launching.CLASSPATH">
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry containerPath=&quot;org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.7.0&quot; path=&quot;2&quot; type=&quot;4&quot;/&gt;&#13;&#10;"/>
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry externalArchive=&quot;C:/springsource/grails-2.0.3/lib/org.codehaus.groovy/groovy-all/jars/groovy-all-1.8.6.jar&quot; path=&quot;3&quot; type=&quot;2&quot;/&gt;&#13;&#10;"/>
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry externalArchive=&quot;C:/springsource/grails-2.0.3/dist/grails-bootstrap-2.0.3.jar&quot; path=&quot;3&quot; type=&quot;2&quot;/&gt;&#13;&#10;"/>
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry externalArchive=&quot;C:/Program Files/Java/jdk1.7.0/lib/tools.jar&quot; path=&quot;3&quot; type=&quot;2&quot;/&gt;&#13;&#10;"/>
</listAttribute>
<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="false"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.codehaus.groovy.grails.cli.support.GrailsStarter"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="planG"/>
<stringAttribute key="process_factory_id" value="com.springsource.sts.grails.core.processFactory"/>
</launchConfiguration>

我关闭了 STS,删除了所有启动文件,重新启动了 STS,瞧,它起作用了。不再有关于 2.0.3 jar 文件丢失的运行时错误。

关于java - 未使用的 grails 2.0.3 安装缺少 SpringsourceTool Suite 2.9.2 : Complaining about groovy-all-1. 8.6.jar,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11941173/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com