Skip to content

sofastack-guides/sofa-ark-class-isolation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sofa-ark-class-isolation

通过多plugin解决类冲突问题

  1. 下载plugin代码仓库 git clone https://github.com/sofastack-guides/sofa-ark-multi-plugin.git
  2. 在plugin代码仓库里执行 mvn install -DskipTests
  3. 下载本仓库代码 git clone https://github.com/sofastack-guides/sofa-ark-class-isolation.git
  4. 在本仓库代码里执行 mvn clean package -DskipTests
  5. 本地IDE启动,或者 java -jar sofa-ark-class-isolation-0.0.1-SNAPSHOT-ark-executable.jar,注意不要加 -Dsofa.ark.embed.enable=true 的参数
  6. 检查是否生效,访问两个不同版本的请求,查看日志
curl http://localhost:8080/hello-hessian3
curl http://localhost:8080/hello-hessian3

image

感谢QilongZhang提供的文档与demo,详细介绍参考这里

About

通过多plugin解决类冲突问题

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages