0
프로젝트에 liferay를 사용하고 있습니다. NEW LIFERAY SERVICE BUILDER 옵션을 사용하여 service.xml을 만들려고했습니다. 하지만 service.xml을 열려고 할 때마다 아래와 같은 오류가 발생합니다. 내을 Liferay SDK 6.2입니다Liferay : service.xml을 여는 중 오류가 발생했습니다.
Error
Tue Jul 15 12:52:10 IST 2014
Plug-in "com.liferay.ide.eclipse.service.ui" was unable to instantiate class "com.liferay.ide.eclipse.service.ui.ServiceBuilderEditor".
org.eclipse.core.runtime.CoreException: Plug-in "com.liferay.ide.eclipse.service.ui" was unable to instantiate class "com.liferay.ide.eclipse.service.ui.ServiceBuilderEditor".
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:188)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:274)
at org.eclipse.ui.internal.registry.EditorDescriptor.createEditor(EditorDescriptor.java:235)
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:318)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPart(CompatibilityPart.java:266)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor.createPart(CompatibilityEditor.java:61)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:304)
... (omitted large parts of stacktrace) ...
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
Caused by: java.lang.VerifyError: (class: com/liferay/ide/eclipse/service/ui/ServiceBuilderEditor, method: createDiagramPages signature:()V) Incompatible argument to function
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:184)
... 90 more.
는 톰캣 (7)와 함께 번들로 일식하고있는 Liferay V6.1 커뮤니티 에디션 서버 사람이 어떻게이 문제를 해결하는 방법을 가르쳐주세요에있는 Liferay 버전 6.2를 설치했습니다. 미리 감사드립니다.
이클립스 플러그인 (Liferay IDE를 구성하는 플러그인)이 동기화되지 않은 것처럼 보입니다. 그것을 업데이트하고 다시 확인하십시오. 이것은 Liferay 측에서 발생하는 것이 아니라 Eclipse/Liferay-IDE 측에서 발생합니다. –
XML 편집기로 열었고 열었습니다. 감사합니다. @OlafKock – Rajkumar
해결 방법은 있지만 해결 방법이 아닙니다. 그러나이 방법으로 계속 일할 수있어서 기쁩니다. 기본 문제를 해결하고 service.xml 편집기를 사용하려면 다음을 수행하십시오. –