问题标签 [sts-springsourcetoolsuite]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
eclipse - 在 Springsource STS eclipse 中启动 jboss 5.0.0 时出错(STS 版本 2.6)
我刚刚下载了 jboss 5.0.0 版。我已将它添加为我的 STS (2.6) 中的服务器。
jboss 5.0.0 在使用命令提示符运行时可以正常运行。但是当它从 Eclipse 运行时,它会给出以下错误。
09:55:13,991 信息 [NativeServerConfig] JBoss Web 服务 - 堆栈本机核心 09:55:13,991 信息 [NativeServerConfig] 3.0.4.SP1 09:55:16,012 错误 [ProfileServiceBootstrap] 无法加载配置文件:不完整部署的摘要(见以前的错误详情):
* CONTEXTS IN ERROR: 名称 -> 错误
ManagedConnectionFactoryParserDeployer -> java.lang.LinkageError: JAXB 2.0 API 正在从引导类加载器加载,但是这个 RI(来自 vfszip:/E:/servers/dimexserver/jboss-5.0.0.GA/lib/jaxb-impl.jar /com/sun/xml/bind/v2/model/impl/ModelBuilder.class) 需要 2.1 API。使用认可的目录机制将 jaxb-api.jar 放置在引导类加载器中。(见http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
我正在使用 jdk 6.0。
我用谷歌搜索并发现很少的链接http://weblogs.java.net/blog/ramapulavarthi/archive/2007/01/problems_using.html解释了一个解决方案。
我已经尝试过了,但到目前为止还没有成功。
请帮忙。
eclipse - 无法在 STS 上运行 spring 模板项目
我创建了一个名为sample的模板项目并使用 spring tc server 启动它。应用程序已部署,但是当我转到http://localhost:8080/sample/时,出现以下错误
信息:服务器在 12669 毫秒内启动 警告:org.springframework.web.servlet.PageNotFound - 在 DispatcherServlet 中找不到带有 URI [/sample/] 的 HTTP 请求的映射,名称为“appServlet”
我按照http://www.youtube.com/watch?v=Y0V4oEnCcyA中所示的相同步骤创建了一个 spring web 应用程序。
我让我的朋友按照相同的步骤在他的 Ubuntu 10.04 机器上进行测试,并且开箱即用。我得出的结论是,它一定是我的机器出了问题。我在 Mac osx 10.4 和 SpringSource Tool Suite 版本上遇到了这个问题:2.6.0.RELEASE
我的主机文件包含以下条目
127.0.0.1 本地主机
谁能指导我如何解决这个问题?
谢谢。
sts-springsourcetoolsuite - 我的 STS 项目图标上方的小感叹号图标
我正在使用 Spring Source Toolssuite IDE 开发 Struts 项目。
当出现编译器错误或其他问题时,我的项目图标上会出现红色 X 标记或黄色感叹号。
但即使在我确保没有编译器错误之后,我的项目图标中还是出现了这个感叹号。我的项目正在成功构建和运行,并且我得到了正确的输出。
为什么会在那里?我怎样才能知道它在抱怨什么?
grails - STS - Grails 透视损坏。看不到服务
我正在使用 STS 进行 grails 开发,但我不知道我做了什么,(很可能是错误地将文件夹拖到某个地方)但现在我无法从透视图中看到我的服务。它们确实存在于 grails-app/services 下,但我想有些东西不再指向那里了?
是的,我尝试重新启动 STS,将项目重新加载到 STS。
关于如何解决这个问题的任何想法?
编辑:
你在这里是没有显示服务的透视图。
非常感谢,比尔赛
namespaces - STS + gwt + spring-config 文件 + tx:annotation 命名空间
我已经坚持了一段时间。我一直在开发一个 gwt + spring 后端 java 项目。我的项目是一个 GWT 项目和另一个用于 Spring 服务的 java 项目等的结构。每个项目都包含它们各自的 spring-config 文件。如果我要使用,则尝试加载弹簧配置
tx:annotation-driven
我不断得到以下信息。
org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'http://www.springframework.org/schema/tx/spring-tx-3.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'tx:annotation-driven'.
应该提到我正在使用 Eclipse 的谷歌插件在 sts 内的 gwt 容器中进行部署。
我的 spring-servlet 命名空间是这样开始的
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="h ttp://www.w3.org/2001/XMLSchema-instance"
xmlns:aop="h ttp://www.springframework.org/schema/aop"
xmlns:context="h ttp://www.springframework.org/schema/context"
xmlns:p="h ttp://www.springframework.org/schema/p"
xmlns:util="h ttp://www.springframework.org/schema/util"
xmlns:tx="h ttp://www.springframework.org/schema/tx"
xsi:schemaLocation="h ttp://www.springframework.org/schema/aop h ttp://www.springframework.org/schema/aop/spring-aop-3.0.xsd
h ttp://www.springframework.org/schema/beans h ttp://www.springframework.org/schema/beans/spring-beans-3.0.xsd
h ttp://www.springframework.org/schema/util h ttp://www.springframework.org/schema/util/spring-util-3.0.xsd
h ttp://www.springframework.org/schema/tx h ttp://www.springframework.org/schema/tx/spring-tx-3.0.xsd
h ttp://www.springframework.org/schema/context h ttp://www.springframework.org/schema/context/spring-context-3.0.xsd">
<tx:annotation-driven transaction-manager="transactionManager"/>
我已经阅读了很多帖子来理解它,但未能解决这个问题。a) 尝试使用 : 将模式导入 xml 目录
jar:file:path/to/spring-framework-3.0.5.RELEASE/dist/org.springframework.transaction-3.0.5.RELEASE.jar!/org/springframework/transaction/config/spring-tx-3.0.xsd
,其中键为http://www.springframework.org/schema/context/spring-context-3.0.xsd
,类型为模式位置。
感谢任何帮助或指示!
eclipse - 在 Eclipse 的 Package Explorer 中,向上和向右的红色箭头是什么意思?
我正在使用 SpringSource Tool Suite(本质上是 Eclipse Helios ++),而我刚刚开始使用 Subversive。我已经使用除了 Subversive 之外的所有工具有一段时间了,而且我以前从未见过这些红色箭头图标(或者这些被称为“装饰”吗?),所以我怀疑 Subversive 是源头,但我不能在网上找到任何能说明它们意思的东西。
sts-springsourcetoolsuite - 如何在spring工具套件中设置类路径
我已经向工作区添加了一个 grails 项目,我想设置 classpath.how 来执行此操作。我无法在 project->properties 中找到设置类路径的选项。
eclipse - Maven2:缺少工件但罐子就位
从现在到那时,我的 Maven 2 开始乱七八糟。
我正在使用 SPring STS 2.6.1 并且有一个基于 Spring 3、Hibernate、DWR、Cometd 和所有这些东西的项目。
今天我刚从 Git 更新,突然间,mvn
我的项目旁边出现了那个可怕的感叹号(!)。
点击“项目 - > Maven - > 更新依赖项”后,我收到:
我的pom.xml
样子:
然后我检查了我的 Mac /Users/XYZ/.m2
,所有 jar 文件都按预期到位。
我正在使用 STS 附带的当前 Maven 版本。我还启用了调试输出,但没有任何可疑之处。
java - 更改 XMx 时启动 Spring Tool Suite 失败
我正在尝试将 STS.ini 中的默认 -Xmx768m 更改并增加到 -Xmx1024。但是,在启动时我收到一条错误消息“无法创建 JVM”。
如果我将它恢复到 768,它就可以正常工作。关于我做错了什么以及如何提高 STS 的性能的任何想法?
这是配置
grails - STS - 找不到 Grails 库
我正在将 Grails 项目移植到 STS,我对该项目和 STS 了解不多,所以我有点迷茫。另外值得注意的是,该项目以前在 Grails 1.0.3 中,我正在将其升级到 1.3.7。
加载现有代码后,我将项目配置为使用 Grails 1.3.7。当我尝试构建项目时,我收到一堆错误,这些错误似乎只是 1.3.7 附带的基本 grails 代码:例如Groovy:unable to resolve class org.codehaus.groovy.grails.commons.ConfigurationHolder
此外,当我打开 STS 时,我被要求为 grails 运行“升级”,但失败并显示以下内容:
在我的 Java 构建路径中,我有一个“Grails 依赖项”文件夹,但我不知道如何更改它以确保它指向正确的依赖项。还有“Groovy 库”和一堆随机的“.jar”依赖项。
我究竟做错了什么?