我的项目在我的另一台电脑上运行良好,但出现此错误。我已经导入了 Maven 项目并尝试更新 Maven 依赖项,它说......
无法更新以下项目的 Maven 配置并且更新 Maven 遇到了找不到 .classpath 的问题
我使用的是STS 3.0.0。JRE 1.7 ..
我在STS中遇到以下错误:
无法解析org.springframework.core.env.EnvironmentCapable类型.它是从所需的.class文件间接引用的
我正在使用Spring Tool Suite 3.6.3和M2E eclipse插件1.4.1,当我从其中一个项目中打开POM文件时,我观察到并没有添加所有依赖项,我已经为jaxws-rt添加了版本的depnedecy配置2.2.8具有如下许多依赖关系
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
</dependency>
<dependency>
<groupId>javax.xml.ws</groupId>
<artifactId>jaxws-api</artifactId>
</dependency>
<dependency>
<groupId>javax.xml.soap</groupId>
<artifactId>javax.xml.soap-api</artifactId>
</dependency>
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
</dependency>
<dependency>
<groupId>javax.jws</groupId>
<artifactId>jsr181-api</artifactId>
</dependency>
<!-- Provided dependencies -->
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-core</artifactId>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
</dependency>
<dependency>
<groupId>com.sun.xml.ws</groupId>
<artifactId>policy</artifactId>
</dependency>
<dependency>
<groupId>org.glassfish.gmbal</groupId>
<artifactId>gmbal-api-only</artifactId>
</dependency>
<dependency>
<groupId>org.jvnet.staxex</groupId>
<artifactId>stax-ex</artifactId>
</dependency>
<dependency>
<groupId>com.sun.xml.stream.buffer</groupId>
<artifactId>streambuffer</artifactId>
</dependency>
<dependency>
<groupId>org.jvnet.mimepull</groupId>
<artifactId>mimepull</artifactId>
</dependency>
<dependency>
<groupId>com.sun.xml.fastinfoset</groupId>
<artifactId>FastInfoset</artifactId>
</dependency>
<dependency>
<groupId>org.glassfish.ha</groupId>
<artifactId>ha-api</artifactId>
</dependency>
<dependency>
<groupId>com.sun.xml.messaging.saaj</groupId>
<artifactId>saaj-impl</artifactId>
</dependency>
<dependency>
<artifactId>woodstox-core-asl</artifactId>
<groupId>org.codehaus.woodstox</groupId>
</dependency>
<dependency>
<groupId>org.codehaus.woodstox</groupId>
<artifactId>stax2-api</artifactId>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId> …Run Code Online (Sandbox Code Playgroud) 我刚刚开始使用 Boot Dashboard 来管理我所有的 Spring Boot 应用程序 ( Boot Dashboard )。
问题是我看不到我的应用程序的起始端口:
应用程序启动没有任何问题:
Started Application in 4.337 seconds (JVM running for 4.953)
Run Code Online (Sandbox Code Playgroud)
我正在使用 STS 3.7.1、Spring Boot 1.2.6.RELEASE 和 java 1.8。
为什么 Boot Dashboard 没有显示我的应用程序的起始端口?
我试图使用Spring Boot Dev工具(Spring Remote),并自动将重新编译的文件上传到我的docker容器.
我一直在接受
Unexpected 404 response uploading class files
这是我的docker文件:
FROM java:8
WORKDIR /first
ADD ./build/libs/first.jar /first/first.jar
EXPOSE 8080
RUN bash -c 'touch /first/first.jar'
ENTRYPOINT ["java","-Dspring.data.mongodb.uri=mongodb://mongodb/micros", "-Djava.security.egd", "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005","-jar", "first.jar"]
Run Code Online (Sandbox Code Playgroud)
这是我收到的错误:
我必须创建一个Spring Boot WEB应用程序,但是JSP页面显示为纯文本,没有任何突出显示或标记。
如何配置STS以像Eclipse一样显示JSP文件?
使用STS 4.0.0.M12。
Spring Tool Suit 或 Eclipse 中来自 Marketplace 的 G9 插件完成了工作。
在STS 4中,我的Java 10 Spring Boot 2.1项目警告我:
未知的引用性质:org.springframework.ide.eclipse.core.springnature
我怎样才能解决这个问题?
我在 Spring 项目中使用 lombok 并使用 gradle 进行构建。之前所有的事情都运转良好。突然出现一些错误。
错误是“构造函数(构造函数名称)未定义”。
已经给出了所有 DTO @Data、@NoArgsConstructor、@AllArgsConstructor,因此理想情况下所有构造函数都应该可用。
我尝试使用新旧版本的 Spring 工具套件构建项目,并更改了 lombok jar。但仍然会出现相同或不同的错误。
尝试使用STS4和STS 3.9.7,3.9.8出现同样的问题。尝试过龙目岛 1.16.22、1.18.0、1.18.2、1.18.8。
请帮我解决这个问题。