Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/384.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
WSO2 EMM java.lang.reflect.InvocationTargetException_Java_Wso2_Wso2 Emm - Fatal编程技术网

WSO2 EMM java.lang.reflect.InvocationTargetException

WSO2 EMM java.lang.reflect.InvocationTargetException,java,wso2,wso2-emm,Java,Wso2,Wso2 Emm,我是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.i

我是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
我已经看到了这些错误,但没有答案。 有什么想法吗?
安托万

好的,我回答我自己的问题,也许这会有帮助

它仍然不能在linux上运行,但现在可以在windows上运行

我所做的唯一一件事就是严格遵守文件夹名称和结构

让我解释一下:

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

c:\wsoem\bin

现在是

c:\wso2\wsoeme-1.1.0\bin

这是我唯一能让它工作的方法

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


Antoine

三天后,它现在可以在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
就这样