This is de error log:
eclipse.buildId=4.7.2.M20171130-0510
java.version=1.8.0_144
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=ca_ES
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product
net.sf.jautodoc
Error
Wed Jan 31 11:56:00 CET 2018
FrameworkEvent ERROR
org.osgi.framework.BundleException: Could not resolve module: net.sf.jautodoc [1647]
Bundle was not resolved because of a uses contraint violation.
org.osgi.service.resolver.ResolutionException: Uses constraint violation. Unable to resolve resource net.sf.jautodoc [osgi.identity; type="osgi.bundle"; version:Version="1.14.0"; osgi.identity="net.sf.jautodoc"; singleton:="true"] because it is exposed to package 'org.apache.oro.text.regex' from resources net.sf.jautodoc.velocity [osgi.identity; type="osgi.bundle"; version:Version="1.14.0"; osgi.identity="net.sf.jautodoc.velocity"] and oracle.eclipse.tools.common.templating [osgi.identity; type="osgi.bundle"; version:Version="16.4.0.201705251324"; osgi.identity="oracle.eclipse.tools.common.templating"; singleton:="true"] via two dependency chains.
Chain 1:
net.sf.jautodoc [osgi.identity; type="osgi.bundle"; version:Version="1.14.0"; osgi.identity="net.sf.jautodoc"; singleton:="true"]
require: (osgi.wiring.bundle=net.sf.jautodoc.velocity)
|
provide: osgi.wiring.bundle: net.sf.jautodoc.velocity
net.sf.jautodoc.velocity [osgi.identity; type="osgi.bundle"; version:Version="1.14.0"; osgi.identity="net.sf.jautodoc.velocity"]
Chain 2:
net.sf.jautodoc [osgi.identity; type="osgi.bundle"; version:Version="1.14.0"; osgi.identity="net.sf.jautodoc"; singleton:="true"]
require: (osgi.wiring.bundle=org.apache.ant)
|
provide: osgi.wiring.bundle; bundle-version:Version="1.10.1.v20170504-0840"; osgi.wiring.bundle="org.apache.ant"
org.apache.ant [osgi.identity; type="osgi.bundle"; version:Version="1.10.1.v20170504-0840"; osgi.identity="org.apache.ant"]
import: (osgi.wiring.package=org.apache.oro.text.regex)
|
export: osgi.wiring.package: org.apache.oro.text.regex
oracle.eclipse.tools.common.templating [osgi.identity; type="osgi.bundle"; version:Version="16.4.0.201705251324"; osgi.identity="oracle.eclipse.tools.common.templating"; singleton:="true"]
at org.eclipse.osgi.container.Module.start(Module.java:444)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1634)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1613)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1585)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1528)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
Seems to be a conflict with the Oracle Enterprise Pack, because both export the package "org.apache.oro.text.regex". I removed this export in the attached version of the velocity plugin. Please try to replace this version in the plugins directory of your Eclipse installation and restart Eclipse.
Sorry,
Doing that simply avoids the error. JAutodoc still does not appear in the preferences > java menu (nor anywhere else)
Maybe you can try to run Eclipse with the -clean option.
Is there no other error message about JAutodoc in the Error Log View or in "workspace.metadata.log" ?
I see a similar error with MyEclipse CI 2018.12.0. It looks in this case like MyEclipse is including Velocity for something already? Not an OSGI guru, though, I'm just reading the error message as best I can. This is on Windows 10, if that makes a difference (probably not).
I removed all exports of 'org.apache.oro' in the attached version of the velocity plugin. Please try to replace this version in the plugins directory of your Eclipse installation and restart Eclipse. Maybe you need to run Eclipse with the -clean option.
I already tried this one, attached to the issue. I just tried again with
the link you provided, and got the same startup error, even with --clean.
Something else is broken in combination with the default plugins installed
with the MyEclipse packaging of Eclipse.
On Sun, Jan 6, 2019 at 1:49 PM Martin Kesting mkesting@users.sourceforge.net wrote:
Related
Bugs: #5