我在 ubuntu 16.04 下运行 eclipse neon.1 。我使用eclipse安装程序安装了eclipse并安装了Java EE包。我安装了jonas和maven,所以一切都安装好了。我可以建立我的项目。
但是我找不到使用jope adapter http://forge.ow2.org/projects/jope/
在eclipse中集成jonas服务器的方法我确实下载了在dropins文件夹中提取的最新版本5.1.0,但似乎eclipse忽略了它。所以我不能在我的eclipse环境中添加我的jonas服务器。
这是我的eclipse实例启动的日志:
./eclipse -clean -console -consoleLog -debug ./.options
Start VM: /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
-Dosgi.requiredJavaVersion=1.8
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx1024m
-Declipse.p2.max.threads=10
-Doomph.update.url=http://download.eclipse.org/oomph/updates/milestone/latest
-Doomph.redirection.index.redirection=index:/->http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/
-jar /opt/eclipse-user/jee-neon//plugins/org.eclipse.equinox.launcher_1.3.200.v20160318-1642.jar
-os linux
-ws gtk
-arch x86_64
-showsplash
-launcher /opt/eclipse-user/jee-neon/eclipse
-name Eclipse
--launcher.library /home/tvba5179/.p2/pool/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.400.v20160518-1444/eclipse_1617.so
-startup /opt/eclipse-user/jee-neon//plugins/org.eclipse.equinox.launcher_1.3.200.v20160318-1642.jar
--launcher.appendVmargs
-exitdata 47000e
-product org.eclipse.epp.package.jee.product
-clean
-console
-consoleLog
-debug ./.options
-vm /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.8
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx1024m
-Declipse.p2.max.threads=10
-Doomph.update.url=http://download.eclipse.org/oomph/updates/milestone/latest
-Doomph.redirection.index.redirection=index:/->http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/
-jar /opt/eclipse-user/jee-neon//plugins/org.eclipse.equinox.launcher_1.3.200.v20160318-1642.jar
Install location:
file:/opt/eclipse-user/jee-neon/
Configuration file:
file:/opt/eclipse-user/jee-neon/configuration/config.ini loaded
Configuration location:
file:/opt/eclipse-user/jee-neon/configuration/
Framework located:
file:/home/tvba5179/.p2/pool/plugins/org.eclipse.osgi_3.11.1.v20160708-1632.jar
Loading extension: reference:file:org.eclipse.osgi.compatibility.state_1.0.200.v20160504-1419.jar
eclipse.properties not found
Loading extension: reference:file:org.eclipse.wst.jsdt.nashorn.extension_1.0.0.v201605131737.jar
eclipse.properties not found
Framework classpath:
file:/home/tvba5179/.p2/pool/plugins/org.eclipse.osgi_3.11.1.v20160708-1632.jar
file:/home/tvba5179/.p2/pool/plugins/
file:/home/tvba5179/.p2/pool/plugins/org.eclipse.osgi.compatibility.state_1.0.200.v20160504-1419.jar
file:/home/tvba5179/.p2/pool/plugins/org.eclipse.wst.jsdt.nashorn.extension_1.0.0.v201605131737.jar
Splash location:
/home/tvba5179/.p2/pool/plugins/org.eclipse.platform_4.6.1.v20160907-1200/splash.bmp
Debug options:
file:/opt/eclipse-user/jee-neon/./.options loaded
Time to load bundles: 36
org.eclipse.m2e.logback.configuration: The org.eclipse.m2e.logback.configuration bundle was activated before the state location was initialized. Will retry after the state location is initialized.
Starting application: 3498
osgi> org.eclipse.m2e.logback.configuration: Logback config file: /home/tvba5179/Documents/Build/workspaces/eclipse/newcare-tdb/.metadata/.plugins/org.eclipse.m2e.logback.configuration/logback.1.7.0.20160603-1933.xml
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [bundleresource://953.fwk540159270:1/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [bundleresource://953.fwk540159270:2/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
org.eclipse.m2e.logback.configuration: Initializing logback
Application Started: 7691
任何提示?
答案 0 :(得分:0)
我说了同样的问题,我通过使用eclipse GUI安装插件解决了这个问题。只需点击“帮助” - >安装新软件 - >添加存储库:
姓名:乔纳斯
地点:http://jope.ow2.org/update/jope/
然后选择JOnAS Server Adapter并安装它。