Eclipse apache sling - 在eclipse尝试连接外部吊索服务器时发生内部错误

时间:2016-04-27 12:40:29

标签: java eclipse apache sling sling-models

我正按照https://sling.apache.org/documentation/development/ide-tooling.html

上的说明尝试为Apache Sling设置Eclipse开发环境

尝试连接外部Apache Sling服务器时出错。

见下面的屏幕截图

enter image description here

我从Eclipse日志(workspace / .metadata / .log)跟踪跟踪

!MESSAGE An internal error occurred during: "Starting Sling Server (external) at localhost".
!STACK 0
java.lang.LinkageError: org/apache/commons/httpclient/auth/AuthScope
    at org.apache.commons.httpclient.HttpMethodDirector.authenticateHost(HttpMethodDirector.java:273)
    at org.apache.commons.httpclient.HttpMethodDirector.authenticate(HttpMethodDirector.java:234)
    at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
    at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
    at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
    at org.apache.sling.ide.osgi.impl.HttpOsgiClient.getBundleVersion(HttpOsgiClient.java:71)
    at org.apache.sling.ide.osgi.impl.TracingOsgiClient.getBundleVersion(TracingOsgiClient.java:48)
    at org.apache.sling.ide.eclipse.core.internal.SlingLaunchpadBehaviour.installBundle(SlingLaunchpadBehaviour.java:162)
    at org.apache.sling.ide.eclipse.core.internal.SlingLaunchpadBehaviour.start(SlingLaunchpadBehaviour.java:111)
    at org.apache.sling.ide.eclipse.core.internal.SlingLaunchpadLaunchConfigurationDelegate.launch(SlingLaunchpadLaunchConfigurationDelegate.java:45)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:885)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:731)
    at org.eclipse.wst.server.core.internal.Server.startImpl2(Server.java:3541)
    at org.eclipse.wst.server.core.internal.Server.startImpl(Server.java:3477)
    at org.eclipse.wst.server.core.internal.Server$StartJob.run(Server.java:367)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

我正在研究Eclipse 4.2,Maven 3.0.5,ubuntu 14.04 LTS和Oracle JAVA 8.我正在使用的吊索是" org.apache.sling.launchpad-8.jar"

有没有人有任何想法?

请求建议

感谢

0 个答案:

没有答案