sofa-ark icon indicating copy to clipboard operation
sofa-ark copied to clipboard

starting Error

Open hejianzxl opened this issue 2 years ago • 4 comments

Your question

Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.alipay.sofa.runtime.spi.component.SofaRuntimeManager]: Factory method 'sofaRuntimeManager' threw exception; nested exception is java.lang.NoClassDefFoundError: org/springframework/context/ApplicationContextAware at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185) at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:652)

Caused by: com.alipay.sofa.ark.exception.ArkLoaderException: [ArkPlugin Loader] runtime-sofa-boot-plugin : can not load class: org.springframework.context.ApplicationContextAware at com.alipay.sofa.ark.container.service.classloader.PluginClassLoader.loadClassInternal(PluginClassLoader.java:122) at com.alipay.sofa.ark.container.service.classloader.AbstractClasspathClassLoader.loadClass(AbstractClasspathClassLoader.java:71) at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

Your scenes

describe your use scenes (why need this feature)

Your advice

describe the advice or solution you'd like

Environment

  • SOFAArk version: 1.1.5
  • JVM version (e.g. java -version): 1.8
  • OS version (e.g. uname -a):
  • Maven version: 3
  • IDE version:

hejianzxl avatar Apr 29 '22 07:04 hejianzxl

@yuanyuancin 这个是 Ark2.0 不支持 Plugin 的原因吗?

lylingzhen avatar May 05 '22 07:05 lylingzhen

runtime-sofa-boot-plugin.jar中应该没有spring-context.jar,需要上传下实验demo

yuanyuancin avatar May 05 '22 07:05 yuanyuancin

@hejianzxl hello,麻烦上传一下实验 demo?

lylingzhen avatar May 12 '22 11:05 lylingzhen

Mark

l10178 avatar Sep 08 '22 11:09 l10178

最新 release 版本问题还有吗?先关闭,有问题可以再开。

lylingzhen avatar Mar 17 '23 12:03 lylingzhen

好的,回头再测下,最近在忙其他事情。

hejianzxl avatar Mar 30 '23 03:03 hejianzxl