Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Just wont work on my machine... #85

Open
MonkeyNinja opened this issue May 24, 2016 · 3 comments
Open

Just wont work on my machine... #85

MonkeyNinja opened this issue May 24, 2016 · 3 comments
Labels

Comments

@MonkeyNinja
Copy link

I get this error:

An internal error occurred during: "Transforming: test.md".
Could not initialize class com.sun.jersey.spi.service.ServiceFinder

I've noticed when browsing here you require 32-bit JRE/JDK, i'm using a 64bit one, is that the cause of the above error?

@satyagraha
Copy link
Owner

The 32-bit JDK is only necessary if building the plugin, I've just run it successfully with Eclipse Mars.2 64-bit with Sun JVM 1.8.0_92 on Windows 7-64. I note that GitHub is not directly serving user content via the "raw" subdomain now, so try this as the update site: https://raw.githubusercontent.com/satyagraha/gfm_viewer/master/p2-composite - the version presented for install should be 2.0.1. Minimum JVM version is now 1.7. Let us know how you get on.

@MonkeyNinja
Copy link
Author

I've tried it on Mars and it works, I was trying it on a Juno with the Mulesoft plugins, rolled up as Anypoint Studio....

I've installed again from the link you provided above...and now get the following slightly larger error message:

An internal error occurred during: "Transforming: test.md".
com.sun.jersey.spi.HeaderDelegateProvider: The class com.sun.jersey.core.impl.provider.header.LocaleProvider implementing provider interface com.sun.jersey.spi.HeaderDelegateProvider could not be instantiated: Cannot cast com.sun.jersey.core.impl.provider.header.LocaleProvider to com.sun.jersey.spi.HeaderDelegateProvider

The Mars installation where it works (E for Developers, current one from the Eclipse web site) doesent have any 'jersey' stuff in the install details/plugins.

Whilst the one where it fails Anypoint Studio, has :

image

not sure what jersey is...sorry new to Java!

@satyagraha
Copy link
Owner

What appears to be happening is that two versions of the Jersey REST web client library are being seen by the plugin code, one from my plugin, and one from the preconfigured Anypoint Studio installation.

The OSGi bundle and classloader mechanism is meant to prevent this sort of collision happening, but there may be a configuration issue on the plugin. Background at: http://www.vogella.com/tutorials/OSGi/article.html . I will take a look when I can, but am pretty busy.

@satyagraha satyagraha added the bug label Sep 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants