1

我刚刚安装了 Eclipse Kepler (eclipse-jee-kepler-SR2-win32-x86_64) 并按照安装说明安装了 MobileFirst V6.3。我在 Windows 7 上运行。

我的 Eclipse 已安装 D:\Dev\Eclipse 我的工作区是:E:\Work\WorkSpaces\Eclipse\EclipseTrainingWorklight Java 安装:D:\Dev\Java(1.8 版)

这是日志消息:

****************************************************** ****************************** 产品 = WebSphere Application Server 8.5.5.3 (wlp-1.0.6.cl50320140731-0257) wlp .install.dir = D:/Dev/Eclipse/plugins/com.worklight.worklight-artifacts_6.3.0.00-20141127-1357/liberty/wlp/server.config.dir = E:/Work/WorkSpaces/Eclipse/EclipseTrainingWorklight /MobileFirstServerConfig/servers/worklight/ java.home = D:\Dev\Java\jre1.8 java.version = 1.8.0_20 java.runtime = Java(TM) SE 运行时环境 (1.8.0_20-b26) os = Windows 7 (6.1; amd64) (en_US) ****************************************** ****************************************** [12/17/14 15:41:07: 955 EST] 00000001 com.ibm.ws.logging.internal.TraceSpecification I TRAS0018I:跟踪状态已更改。新的跟踪状态是 *=info。[12/17/14 15:41:07:975 EST] 00000001 com。ibm.ws.kernel.launch.internal.FrameworkManager A CWWKE0001I:服务器工作灯已启动。[12/17/14 15:41:08:754 EST] 00000013 ibm.ws.ras.instrument.internal.main.AlpineRuntimeTransformer E TRAS0033E:类 javax/naming/spi/InitialContextFactoryBuilder 的详细方法跟踪的运行时注入失败,出现异常java.lang.IllegalArgumentException at org.objectweb.asm.ClassReader.(Unknown Source) at org.objectweb.asm.ClassReader.(Unknown Source) at org.objectweb.asm.ClassReader.(Unknown Source) at com.ibm.ws .ras.instrument.internal.main.AlpineRuntimeTransformer.transform(AlpineRuntimeTransformer.java:276) 在 com.ibm.ws.ras.instrument.internal.main.AlpineRuntimeTransformer.transform(AlpineRuntimeTransformer.java:337) 在 sun.instrument.TransformerManager .

[12/17/14 15:41:08:826 EST] 00000013 ibm.ws.ras.instrument.internal.main.AlpineRuntimeTransformer E TRAS0033E: 类 java/util/concurrent/ConcurrentSkipListSet 的详细方法跟踪的运行时注入失败,出现异常java.lang.IllegalArgumentException at org.objectweb.asm.ClassReader.(Unknown Source) at org.objectweb.asm.ClassReader.(Unknown Source) at org.objectweb.asm.ClassReader.(Unknown Source) at com.ibm.ws .ras.instrument.internal.main.AlpineRuntimeTransformer.transform(AlpineRuntimeTransformer.java:276) 在 com.ibm.ws.ras.instrument.internal.main.AlpineRuntimeTransformer.transform(AlpineRuntimeTransformer.java:337) 在 sun.instrument.TransformerManager .transform(Unknown Source) at sun.instrument.InstrumentationImpl.transform(Unknown Source) at java.lang.ClassLoader。findBootstrapClass(Native Method) at java.lang.ClassLoader.findBootstrapClassOrNull(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader。 loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at com.ibm.ws.kernel.internal.classloader.BootstrapChildFirstJarClassloader.loadClass(BootstrapChildFirstJarClassloader.java:56) at java.lang.ClassLoader.loadClass(Unknown来源)在 org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412) 在 org.eclipse.osgi 的 org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:420) .internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107) 在 java.lang.ClassLoader。loadClass(Unknown Source) at com.ibm.ws.kernel.service.location.internal.SymbolRegistry.(SymbolRegistry.java:115) at com.ibm.ws.kernel.service.location.internal.SymbolRegistry.(SymbolRegistry.java :38) 在 com.ibm.ws.kernel.service.location.internal.Activator.start(Activator.java 的 com.ibm.ws.kernel.service.location.internal.WsLocationAdminImpl.createLocations(WsLocationAdminImpl.java:97) :53) 在 org.eclipse.osgi.framework.internal 的 java.security.AccessController.doPrivileged(Native Method) 的 org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)。 core.BundleContextImpl.startActivator(BundleContextImpl.java:702) 在 org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683) 在 org.eclipse.osgi.framework.internal.core.BundleHost。startWorker(BundleHost.java:381) 在 org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390) 在 org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework. java:1176) 在 org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559) 在 org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)在 org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457) 在 org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243) 在 org.eclipse .osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438) 在 org.eclipse.osgi.framework.internal.core.StartLevelManager。dispatchEvent(StartLevelManager.java:1) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java: 340)

[12/17/14 15:41:08:828 EST] 00000013 ibm.ws.ras.instrument.internal.main.AlpineRuntimeTransformer E TRAS0033E:类 java/util/NavigableSet 的详细方法跟踪的运行时注入失败,异常 java。 org.objectweb.asm.ClassReader.(Unknown Source) at org.objectweb.asm.ClassReader.(Unknown Source) at org.objectweb.asm.ClassReader.(Unknown Source) at org.ibm.ws.ras 的 lang.IllegalArgumentException .instrument.internal.main.AlpineRuntimeTransformer.transform(AlpineRuntimeTransformer.java:276) 在 com.ibm.ws.ras.instrument.internal.main.AlpineRuntimeTransformer.transform(AlpineRuntimeTransformer.java:337) 在 sun.instrument.TransformerManager.transform (Unknown Source) at sun.instrument.InstrumentationImpl.transform(Unknown Source) at java.lang.ClassLoader.findBootstrapClass(Native Method) at java。lang.ClassLoader.findBootstrapClassOrNull(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java. lang.ClassLoader.loadClass(Unknown Source) at com.ibm.ws.kernel.internal.classloader.BootstrapChildFirstJarClassloader.loadClass(BootstrapChildFirstJarClassloader.java:56) at java.lang.ClassLoader.loadClass(Unknown Source) at org.eclipse.osgi .internal.loader.BundleLoader.findClass(BundleLoader.java:420) 在 org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412) 在 org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass (DefaultClassLoader.java:107) 在 com.ibm.ws.kernel.service.location 的 java.lang.ClassLoader.loadClass(Unknown Source)。internal.SymbolRegistry.(SymbolRegistry.java:115) 在 com.ibm.ws.kernel.service.location.internal.SymbolRegistry.(SymbolRegistry.java:38) 在 com.ibm.ws.kernel.service.location.internal。 WsLocationAdminImpl.createLocations(WsLocationAdminImpl.java:97) 在 com.ibm.ws.kernel.service.location.internal.Activator.start(Activator.java:53) 在 org.eclipse.osgi.framework.internal.core.BundleContextImpl$1 .run(BundleContextImpl.java:711) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702) at org.eclipse.osgi .framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683) 在 org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381) 在 org.eclipse.osgi.framework。internal.core.AbstractBundle.resume(AbstractBundle.java:390) 在 org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176) 在 org.eclipse.osgi.framework.internal.core。 StartLevelManager.resumeBundles(StartLevelManager.java:559) 在 org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544) 在 org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL( StartLevelManager.java:457) 在 org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243) 在 org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java: 438) 在 org.eclipse.osgi.framework.eventmgr 的 org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)。org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) 上的 EventManager.dispatchEvent(EventManager.java:230)

4

1 回答 1

1

您正在使用 Java 8。Worklight/MobileFirst 平台不支持 Java 8。

降级到 Java 6 或 7,然后重试。
然后 Studio 插件应该开始工作。

于 2014-12-17T21:28:42.270 回答