-
Notifications
You must be signed in to change notification settings - Fork 14
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
Installation problem under 1.3.4 and 1.3.5 #3
Comments
Here's a more complete listing of the build process prior to the above: Resolving dependencies... /Users/scott/.grails/1.3.5/projects/concierge/plugins/cometd-0.2.1/CometdGrailsPlugin.groovy: 23: unable to resolve class org.cometd.bayeux.server.BayeuxServer /Users/scott/.grails/1.3.5/projects/concierge/plugins/cometd-0.2.1/CometdGrailsPlugin.groovy: 22: unable to resolve class org.cometd.server.CometdServlet 3 errors
Error loading plugin manager: startup failed: /Users/scott/.grails/1.3.5/projects/concierge/plugins/cometd-0.2.1/CometdGrailsPlugin.groovy: 23: unable to resolve class org.cometd.bayeux.server.BayeuxServer /Users/scott/.grails/1.3.5/projects/concierge/plugins/cometd-0.2.1/CometdGrailsPlugin.groovy: 22: unable to resolve class org.cometd.server.CometdServlet 3 errors |
I haven't seen any such issues, and I'm using it with Grails 1.3.4 and 1.3.5. It looks more like a Grails problem.Please try "grails compile". |
OK - found an issue, and a fix. When rebuilding the stand alone plugin (i.e. grails run-app in the plugin directory) I got "bad version # in class" error. I never saw this error when including the plugin in my app... but I was using Java 1.5, so I switched to 1.6 and it built with no errrors, as did my application. So, what I think is happening is the maven repo with cometd-server-java, etc... was compiled with 1.6 Why the error message didn't show up that way when using it as a plugin, I'm not sure exactly. But I'm pretty sure that was the issue. Thanks for writing the plugin! |
Ok, thanks a lot for the feedback! Might be worthwhile to post a bug report for CometD. I'll add a note to the plugin page on grails.org. |
Basically it looks like the dependencies on cometd-java-server aren't getting downloaded... or some such!
Happy to provide any additional information! But unfortunately I'm not sure what's most useful for you.
FYI - in case something about my installation was inconsistent I've done a full uninstall of grails (including nuking ~/.grails and ~/.ivy2), but am getting the same results below.
--snip--
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
/Users/scott/.grails/1.3.5/projects/concierge/plugins/cometd-0.2.1/CometdGrailsPlugin.groovy: 21: unable to resolve class org.cometd.server.BayeuxServerImpl
@ line 21, column 1.
import org.cometd.server.BayeuxServerImpl
^
/Users/scott/.grails/1.3.5/projects/concierge/plugins/cometd-0.2.1/CometdGrailsPlugin.groovy: 23: unable to resolve class org.cometd.bayeux.server.BayeuxServer
@ line 23, column 1.
import org.cometd.bayeux.server.BayeuxServer
^
/Users/scott/.grails/1.3.5/projects/concierge/plugins/cometd-0.2.1/CometdGrailsPlugin.groovy: 22: unable to resolve class org.cometd.server.CometdServlet
@ line 22, column 1.
import org.cometd.server.CometdServlet
^
--snip--
3 errors
The text was updated successfully, but these errors were encountered: