-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Enunciate 2: The Java compiler has crashed! #146
Comments
See #117 for another instance where the compiler has crashed. It's uncertain whether this has the same root cause, though. |
Okay, after quite awhile of effort that amounts to banging my head against the wall, the only thing left for me to do was to provide a document that describes the problem and gives some tips about how to deal with it: https://github.com/stoicflame/enunciate/wiki/Java-Compiler-Crash If any of those tips work, please report your solution on this thread so we can all benefit from seeing what's working most often. This issue will stay open until we can figure out a way to write code in Enunciate that avoids the problem entirely. It might be awhile... |
Okay, I've spent some more time looking at this. It was suggested that one cause of the crash might be caused by depending on artifacts of type "bundle" and not "jar". In an effort to test that theory, I've initialized a sample project here: https://github.com/stoicflame/enunciate-example-cxf-osgi Unfortunately, the error doesn't manifest itself yet. However, the project might be a good starting point for others who want to figure out a way to consistently reproduce the issue. Please send any pull requests that might be needed to get the problem to manifest itself consistently. |
I put this on the shelf for some time. Now I got back into it and I tried using the latest version, 2.1.1, and the problems seems to be gone. I'm not sure what could have fixed it, but I'm not sure it's worth spending time on. :) Close? |
I ran
mvn -e enunciate:docs
to get extra error details. I get the same problem in Eclipse as in command line.The text was updated successfully, but these errors were encountered: