Note that there are some explanatory texts on larger screens.

plurals
  1. POHow do I resolve a dependency in an Eclipse plug-in I didn't write?
    primarykey
    data
    text
    <p>I'm trying to use a relatively new Eclipse plug-in (<a href="http://uqbar-tomcat-xt.sourceforge.net/download.html" rel="nofollow noreferrer">http://uqbar-tomcat-xt.sourceforge.net/download.html</a>). It doesn't have an update site, so I can't install it through the UI in Eclipse, which usually resolves dependencies. All that's available for download is a single .jar, and the instructions on the website say to just drop it in eclipse/plugins. When I do that, it seems to work, in the sense that I get the new options in Window -> Show View that the plug-in should add. However, when I try to use either of those views, I get the following error: </p> <pre><code>org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter$TerminatingClassNotFoundException: An error occurred while automatically activating bundle org.uqbar.eclipse.tomcat.xt (304). at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:125) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:449) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:211) ...snip... Caused by: org.osgi.framework.BundleException: The activator org.uqbar.eclipse.tomcat.xt.UqbarSydeoXtActivator for bundle org.uqbar.eclipse.tomcat.xt is invalid at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:157) ...snip... Caused by: java.lang.Error: Unresolved compilation problems: The import com.thoughtworks cannot be resolved XStream cannot be resolved to a type XStream cannot be resolved to a type XStream cannot be resolved to a type </code></pre> <p>The dependencies page of the above site lists several dependencies, including XStream. I tried downloading those .jars separately and dropping them into the eclipse/plugins directory as well, but that didn't resolve the error. When I look at the manifest in the jar, I see:</p> <pre><code>Bundle-ClassPath: .,commons-logging-1.0.4.jar,xpp3_min-1.1.4c.jar,xstr eam-1.3.jar,xstream-benchmark-1.3.jar </code></pre> <p>But obviously the xstream jars aren't available on the classpath (which is where?). I'm not sure where I can put them so that they're recognized by the plug-in.</p> <p>I've tried contacting the developers and got no response, so I'm turning to SO. Is there anything I can do, or is the plug-in packaged incorrectly?</p> <p>Update: Apparently the error is in the Activator, not the plugin itself. I tried importing the plugin as a source project, but the src/ directory is empty. The plugin doesn't appear in the list of available deployable plugins when I try to export it. So this is still unsolved.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload