talend open studio-an error(sun.misc.unsafe.defineclass(java.lang.string,[b,int,int,java.lang.classloader,java.security.protectiondomain))

lkaoscv7  于 2021-07-12  发布在  Java
关注(0)|答案(0)|浏览(737)

对于首次启动,talend open studio有一个错误

java.lang.NoSuchMethodException: sun.misc.Unsafe.defineClass(java.lang.String,[B,int,int,java.lang.ClassLoader,java.security.ProtectionDomain)
    at java.base/java.lang.Class.getDeclaredMethod(Class.java:2613)
    at org.apache.webbeans.proxy.Unsafe.lambda$unsafeDefineClass$2(Unsafe.java:163)
    at java.base/java.security.AccessController.doPrivileged(AccessController.java:312)
    at org.apache.webbeans.proxy.Unsafe.unsafeDefineClass(Unsafe.java:160)
    at org.apache.webbeans.proxy.Unsafe.defineAndLoadClass(Unsafe.java:126)
    at org.apache.webbeans.proxy.AbstractProxyFactory.createProxyClass(AbstractProxyFactory.java:280)
    at org.apache.webbeans.proxy.AbstractProxyFactory.createProxyClass(AbstractProxyFactory.java:250)
    at org.apache.webbeans.proxy.InterceptorDecoratorProxyFactory.createProxyClass(InterceptorDecoratorProxyFactory.java:216)
    at org.apache.webbeans.proxy.InterceptorDecoratorProxyFactory.createProxyClass(InterceptorDecoratorProxyFactory.java:188)
    at org.apache.webbeans.portable.AbstractProducer.defineInterceptorStack(AbstractProducer.java:105)
    at org.apache.webbeans.config.BeansDeployer.validate(BeansDeployer.java:1183)
    at org.apache.webbeans.config.BeansDeployer.validateInjectionPoints(BeansDeployer.java:1104)
    at org.apache.webbeans.config.BeansDeployer.deploy(BeansDeployer.java:330)
    at org.apache.webbeans.lifecycle.AbstractLifeCycle.bootstrapApplication(AbstractLifeCycle.java:137)
    at org.apache.webbeans.lifecycle.AbstractLifeCycle.startApplication(AbstractLifeCycle.java:103)
    at org.apache.webbeans.web.lifecycle.WebContainerLifecycle.startApplication(WebContainerLifecycle.java:98)
    at org.apache.webbeans.servlet.WebBeansConfigurationListener.doStart(WebBeansConfigurationListener.java:207)
    at org.apache.webbeans.servlet.WebBeansConfigurationListener.contextInitialized(WebBeansConfigurationListener.java:85)
    at org.apache.meecrowave.openwebbeans.OWBAutoSetup$EagerBootListener.doContextInitialized(OWBAutoSetup.java:84)
    at org.apache.meecrowave.openwebbeans.OWBAutoSetup$EagerBootListener.access$100(OWBAutoSetup.java:65)
    at org.apache.meecrowave.openwebbeans.OWBAutoSetup.onStartup(OWBAutoSetup.java:61)
    at org.apache.meecrowave.Meecrowave.lambda$deployWebapp$9(Meecrowave.java:280)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5135)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)
    at org.apache.meecrowave.Meecrowave.deployWebapp(Meecrowave.java:420)
    at org.apache.meecrowave.Meecrowave.deployClasspath(Meecrowave.java:190)
    at org.talend.sdk.component.server.cli.EnhancedCli.run(EnhancedCli.java:52)
    at org.talend.sdk.component.studio.ProcessManager$2.run(ProcessManager.java:288)

以管理员和用户身份启动。
尝试使用Java16、Java11和“openjdk(推荐发行版:zulu)”
我怎样才能解决这个问题?

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题