Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gk
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
micro_app
gk
Commits
8e6a6980
Commit
8e6a6980
authored
Mar 27, 2026
by
daniel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(pom): org.apache.commons.lang 工具包冲突+1
parent
4adda051
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
pom.xml
pom.xml
+6
-0
Application.java
src/main/java/com/dlbridge/jadp/Application.java
+5
-0
No files found.
pom.xml
View file @
8e6a6980
...
...
@@ -157,6 +157,12 @@
<groupId>
javax.servlet
</groupId>
<artifactId>
jstl
</artifactId>
</dependency>
<!-- 固定 commons-lang 版本,防止并发类加载竞争 -->
<dependency>
<groupId>
commons-lang
</groupId>
<artifactId>
commons-lang
</artifactId>
<version>
2.6
</version>
</dependency>
<!-- GENERAL UTILS begin -->
<dependency>
<groupId>
commons-io
</groupId>
...
...
src/main/java/com/dlbridge/jadp/Application.java
View file @
8e6a6980
...
...
@@ -64,6 +64,11 @@ public class Application extends SpringBootServletInitializer {
}
public
static
void
main
(
String
[]
args
)
{
// 预加载 commons-lang,防止并发类加载竞争导致 AssertionError
try
{
Class
.
forName
(
"org.apache.commons.lang.StringUtils"
);
}
catch
(
ClassNotFoundException
ignored
)
{
}
SpringApplication
.
run
(
Application
.
class
,
args
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment