-
![image](https://user-images.githubusercontent.com/10232714/58006525-dab26000-7b1a-11e9-874f-d01b6258555b.png)
-
### Your question
我在阅读ark的源码,读到
com.alipay.sofa.ark.container.service.classloader.BizClassLoader
寻找类的过程。
第五步是寻找export的类
resolveExportClass(name)
他会调用com.alipay.sofa.ark.container.service.class…
-
我看到4月12号的提交把sample-ark-plugin去掉了,这个是为什么啊?
去掉之后怎么验证插件啊?
-
Spring的
他的原理是先getResources("com/xxx");
得到所有jar包里的目录。
然后列举目录里面所有类。
然后使用classloader去load。
当前ark对.class结尾的资源导出进行了处理。但是没有对这种情况进行兼容。
-
call stack
```java
2019-04-12 21:53:36,526 ERROR main - Error occurred while doing HealthIndicatorclass com.alipay.sofa.runtime.spring.health.MultiApplicationHealthIndi…
-
URLClassloader 加载一个普通jar包的的url,获取一个特殊路径的resource,会返回null
举例:
```
URLClassLoader loader= new URLClassLoader(new URL[] {
new URL("file:/D:/a.jar")
}, null);
loader.getReso…
-
使用了模块隔离和类隔离,加载健康检查时提示这个:
` Failed to retrieve 'health' endpoint data`
-
前端资源使用webjars 管理,启动sofaboot时,异常:看源码是读取webjars资源jar包时,报错了。是不支持webjars吗?
sofaboot版本:2.6.1
```
2019-03-01 15:37:08.235 | main | ERROR | org.springframework.boot.SpringApplication | SpringApplicati…
-
1 只是看到结合springboot的例子
2 sofaboot中的sofaboot-sample-with-rpc例子没有使用到sofa-ark
所以能够提供一个sofa-ark结合sofa-rpc的例子。
ps:sofa-rpc-all具体是怎么作为一个插件呢?
-
### 问题描述
当依赖的sofa-ark-springboot-starter和sofa-ark-maven-plugin版本不一致时,运行maven package 会报错:
```
[ERROR] Failed to execute goal com.alipay.sofa:sofa-ark-maven-plugin:0.5.0:repackage (default-cli) …