gpt4 book ai didi

c# - Sharpen捆绑物Sharpen.core的激活器sharpen.core.Sharpen无效

转载 作者:行者123 更新时间:2023-11-30 09:34:35 24 4
gpt4 key购买 nike

我试图运行Sharpen将一些Java代码转换为c#。以下是我要遵循的说明,环境和问题说明的详细信息。

指示如下:


http://www.pauldb.me/post/14916717048/a-guide-to-sharpen-a-great-tool-for-converting-java
http://community.versant.com/documentation/reference/db4o-7.12/net2/reference/index_Left.html#CSHID=sharpen%2Fhow_to_setup_sharpen.htm|StartTopic=Content%2Fsharpen%2Fhow_to_setup_sharpen.htm|SkinName=RedVersant


环境:


Eclipse 4.2.0
JDK 1.7(jdk1.7.0_03)


问题:

我能够在Eclipse中设置项目并运行构建文件以转换代码。在执行构建文件的目标“ sharpen-docs”时,它会在eclipse配置日志中错误显示以下消息。

任何帮助都感激不尽。提前致谢。

!ENTRY org.eclipse.osgi 2 0 2012-07-31 13:23:04.507


!信息
!堆栈0
org.osgi.framework.BundleException:捆绑包sharpen.core的激活器sharpen.core.Sharpen无效
    在org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:172)
    在org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:679)
    在org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
    在org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:300)
    在org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:440)
    在org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:263)
    在org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:236)
    在org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1212)
    在org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)
    在org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
    在org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
    在org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
    在org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:191)
    在org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    在org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    在org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
    在org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
    在sun.reflect.NativeMethodAccessorImpl.invoke0(本机方法)处
    在sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    在sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    在java.lang.reflect.Method.invoke(Method.java:601)
    在org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
    在org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
    在org.eclipse.equinox.launcher.Main.run(Main.java:1438)
    在org.eclipse.equinox.launcher.Main.main(Main.java:1414)
    在org.eclipse.core.launcher.Main.main(Main.java:34)
引起原因:java.lang.ClassNotFoundException:sharpen.core.Sharpen
    在org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
    在org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
    在org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
    在org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
    在java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    在org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:340)
    在org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:229)
    在org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:165)
    ...另外25个
根异常:
java.lang.ClassNotFoundException:sharpen.core.Sharpen
    在org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
    在org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
    在org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
    在org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
    在java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    在org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:340)
    在org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:229)
    在org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:165)
    在org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:679)
    在org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
    在org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:300)
    在org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:440)
    在org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:263)
    在org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:236)
    在org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1212)
    在org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)
    在org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
    在org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
    在org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
    在org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:191)
    在org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    在org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    在org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
    在org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
    在sun.reflect.NativeMethodAccessorImpl.invoke0(本机方法)处
    在sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    在sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    在java.lang.reflect.Method.invoke(Method.java:601)
    在org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
    在org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
    在org.eclipse.equinox.launcher.Main.run(Main.java:1438)
    在org.eclipse.equinox.launcher.Main.main(Main.java:1414)
    在org.eclipse.core.launcher.Main.main(Main.java:34)

!ENTRY org.eclipse.osgi 4 0 2012-07-31 13:23:04.737
!MESSAGE应用错误
!堆栈1
org.eclipse.core.runtime.CoreException:插件sharpen.core无法加载Sharpen.core.SharpenApplication类。
    在org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194)
    在org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:176)
    在org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
    在org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
    在org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
    在org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:191)
    在org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    在org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    在org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
    在org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
    在sun.reflect.NativeMethodAccessorImpl.invoke0(本机方法)处
    在sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    在sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    在java.lang.reflect.Method.invoke(Method.java:601)
    在org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
    在org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
    在org.eclipse.equinox.launcher.Main.run(Main.java:1438)
    在org.eclipse.equinox.launcher.Main.main(Main.java:1414)
    在org.eclipse.core.launcher.Main.main(Main.java:34)
引起原因:java.lang.ClassNotFoundException:sharpen.core.SharpenApplication
    在org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
    在org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
    在org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
    在org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
    在java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    在org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:340)
    在org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:229)
    在org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1212)
    在org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)
    ...另外17个

最佳答案

记录:

我安装Java 6后问题已解决。.感谢Anders指出这一点。

关于c# - Sharpen捆绑物Sharpen.core的激活器sharpen.core.Sharpen无效,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11748857/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com