Skip to content

Commit 174e2b9

Browse files
committed
fix the issue occurs when using SpringBoot3: java.lang.NoSuchMethodError: 'org.springframework.http.HttpStatusCode org.springframework.http.ResponseEntity.getStatusCode()'
1 parent e87bfe9 commit 174e2b9

File tree

1 file changed

+53
-53
lines changed

1 file changed

+53
-53
lines changed

pom.xml

Lines changed: 53 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -75,59 +75,59 @@
7575
</distributionManagement>
7676

7777
<build>
78-
<plugins>
79-
<plugin>
80-
<groupId>org.sonatype.plugins</groupId>
81-
<artifactId>nexus-staging-maven-plugin</artifactId>
82-
<version>1.6.13</version>
83-
<extensions>true</extensions>
84-
<configuration>
85-
<serverId>ossrh</serverId>
86-
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
87-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
88-
</configuration>
89-
</plugin>
90-
<plugin>
91-
<groupId>org.apache.maven.plugins</groupId>
92-
<artifactId>maven-source-plugin</artifactId>
93-
<version>2.2.1</version>
94-
<executions>
95-
<execution>
96-
<id>attach-sources</id>
97-
<goals>
98-
<goal>jar-no-fork</goal>
99-
</goals>
100-
</execution>
101-
</executions>
102-
</plugin>
103-
<plugin>
104-
<groupId>org.apache.maven.plugins</groupId>
105-
<artifactId>maven-javadoc-plugin</artifactId>
106-
<version>2.9.1</version>
107-
<executions>
108-
<execution>
109-
<id>attach-javadocs</id>
110-
<goals>
111-
<goal>jar</goal>
112-
</goals>
113-
</execution>
114-
</executions>
115-
</plugin>
116-
<plugin>
117-
<groupId>org.apache.maven.plugins</groupId>
118-
<artifactId>maven-gpg-plugin</artifactId>
119-
<version>1.5</version>
120-
<executions>
121-
<execution>
122-
<id>sign-artifacts</id>
123-
<phase>verify</phase>
124-
<goals>
125-
<goal>sign</goal>
126-
</goals>
127-
</execution>
128-
</executions>
129-
</plugin>
130-
</plugins>
78+
<!-- <plugins>-->
79+
<!-- <plugin>-->
80+
<!-- <groupId>org.sonatype.plugins</groupId>-->
81+
<!-- <artifactId>nexus-staging-maven-plugin</artifactId>-->
82+
<!-- <version>1.6.13</version>-->
83+
<!-- <extensions>true</extensions>-->
84+
<!-- <configuration>-->
85+
<!-- <serverId>ossrh</serverId>-->
86+
<!-- <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>-->
87+
<!-- <autoReleaseAfterClose>true</autoReleaseAfterClose>-->
88+
<!-- </configuration>-->
89+
<!-- </plugin>-->
90+
<!-- <plugin>-->
91+
<!-- <groupId>org.apache.maven.plugins</groupId>-->
92+
<!-- <artifactId>maven-source-plugin</artifactId>-->
93+
<!-- <version>2.2.1</version>-->
94+
<!-- <executions>-->
95+
<!-- <execution>-->
96+
<!-- <id>attach-sources</id>-->
97+
<!-- <goals>-->
98+
<!-- <goal>jar-no-fork</goal>-->
99+
<!-- </goals>-->
100+
<!-- </execution>-->
101+
<!-- </executions>-->
102+
<!-- </plugin>-->
103+
<!-- <plugin>-->
104+
<!-- <groupId>org.apache.maven.plugins</groupId>-->
105+
<!-- <artifactId>maven-javadoc-plugin</artifactId>-->
106+
<!-- <version>2.9.1</version>-->
107+
<!-- <executions>-->
108+
<!-- <execution>-->
109+
<!-- <id>attach-javadocs</id>-->
110+
<!-- <goals>-->
111+
<!-- <goal>jar</goal>-->
112+
<!-- </goals>-->
113+
<!-- </execution>-->
114+
<!-- </executions>-->
115+
<!-- </plugin>-->
116+
<!-- <plugin>-->
117+
<!-- <groupId>org.apache.maven.plugins</groupId>-->
118+
<!-- <artifactId>maven-gpg-plugin</artifactId>-->
119+
<!-- <version>1.5</version>-->
120+
<!-- <executions>-->
121+
<!-- <execution>-->
122+
<!-- <id>sign-artifacts</id>-->
123+
<!-- <phase>verify</phase>-->
124+
<!-- <goals>-->
125+
<!-- <goal>sign</goal>-->
126+
<!-- </goals>-->
127+
<!-- </execution>-->
128+
<!-- </executions>-->
129+
<!-- </plugin>-->
130+
<!-- </plugins>-->
131131
</build>
132132

133133
</project>

0 commit comments

Comments
 (0)