0

我是 WSO2 产品的新手。我尝试 WSO2 EMM,当我尝试启动 emm 1.1.0 时,出现以下错误。我在 Ubuntu、Debian 和 Windows 上试过,但总是同样的问题。

1.0.0 不会发生这种情况

   java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:622)
at org.wso2.carbon.bootstrap.Bootstrap.loadClass(Bootstrap.java:63)
at org.wso2.carbon.bootstrap.Bootstrap.main(Bootstrap.java:45)
Caused by: java.lang.RuntimeException: org.eclipse.core.runtime.adaptor.EclipseStarter
at org.wso2.carbon.server.CarbonLauncher.launch(CarbonLauncher.java:117)
at org.wso2.carbon.server.Main.launchCarbon(Main.java:163)
at org.wso2.carbon.server.Main.main(Main.java:95)
... 6 more

我已经看到了这些错误,但没有答案。有任何想法吗 ?安托万

4

2 回答 2

0

好的,我回答我自己的问题,也许它可以帮助......

它仍然无法在 linux 上运行,但它现在可以在 windows 上运行。

我唯一做的就是严格尊重文件夹名称和结构

让我解释一下:

当它不工作时,文件夹的结构是:

c:\wsoemm\bin...

现在是

c:\wso2\wsoeme-1.1.0\bin

这是我为使其正常工作所做的唯一事情

我更喜欢在 linux 上运行 WSO2 EMM,所以任何帮助都会很棒。

安托万

于 2014-10-22T09:49:20.570 回答
0

3天后它现在可以在linux上运行

您必须更改位于的文件 null.ini

/无论你把文件夹放在哪里/wso2/wso2emm-1.1.0/repository/components/default

默认文件是:

-install
/home/nira/git/EMM/product-emm/modules/p2-profile-gen/target/wso2carbon-core-4.2.0/repository/components/default

将其更改为:

-install
/wherever you put the folder/wso2/wso2emm-1.1.0/repository/components/default

而已

于 2014-10-22T10:01:25.247 回答