Comments (14)
Probably the dependencies are not being resolved correctly. Does it download the cometd jars correctly? If you do "grails war", are the cometd jar files included in the archive?
from grails-cometd.
Thanks for the prompt reply
I tried "war" it again gives me the same error:
Error Log:
Base Directory: /Users/axm047/Documents/workspace-sts-2.3.2.RELEASE/demoComet
Resolving dependencies...
Dependencies resolved in 1371ms.
Running script /Users/axm047/springsource/grails-1.3.3/scripts/War.groovy
Environment set to production
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
/Users/axm047/.grails/1.3.3/projects/demoComet/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/axm047/.grails/1.3.3/projects/demoComet/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/axm047/.grails/1.3.3/projects/demoComet/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
^
3 errors
at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:296)
at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:828)
at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:511)
at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:487)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:464)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:448)
at _PluginDependencies_groovy$_run_closure5_closure38.doCall(_PluginDependencies_groovy:242)
at _PluginDependencies_groovy$_run_closure5_closure38.doCall(_PluginDependencies_groovy)
at _GrailsSettings_groovy$_run_closure10.doCall(_GrailsSettings_groovy:280)
at _GrailsSettings_groovy$_run_closure10.call(_GrailsSettings_groovy)
at _PluginDependencies_groovy$_run_closure5.doCall(_PluginDependencies_groovy:241)
at _GrailsPackage_groovy$_run_closure2.doCall(_GrailsPackage_groovy:167)
at War$_run_closure5.doCall(War:90)
at War$_run_closure1.doCall(War:38)
at gant.Gant$_dispatch_closure5.doCall(Gant.groovy:381)
at gant.Gant$_dispatch_closure7.doCall(Gant.groovy:415)
at gant.Gant$_dispatch_closure7.doCall(Gant.groovy)
at gant.Gant.withBuildListeners(Gant.groovy:427)
at gant.Gant.this$2$withBuildListeners(Gant.groovy)
at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source)
at gant.Gant.dispatch(Gant.groovy:415)
at gant.Gant.this$2$dispatch(Gant.groovy)
at gant.Gant.invokeMethod(Gant.groovy)
at gant.Gant.executeTargets(Gant.groovy:590)
at gant.Gant.executeTargets(Gant.groovy:589)
Error loading plugin manager: startup failed:
/Users/axm047/.grails/1.3.3/projects/demoComet/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/axm047/.grails/1.3.3/projects/demoComet/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/axm047/.grails/1.3.3/projects/demoComet/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
^
3 errors
from grails-cometd.
Can you do "grails clean", wipe the Ivy cache (~/.ivy2/cache) and try again?
from grails-cometd.
Hi,
I am using STS IDE so wht i tried was first to clean the project and then to refresh the dependency (provided by IDE)...
but it still gives the same error .
I was unable to fin ivy2 in project directory so used the refresh dependency .
Is it different ?
I am really sorry for the trouble i have not used this before so not sure.
-Amit
from grails-cometd.
The ivy cache is in your home directory (on Unix-like systems, don't know where it is on Windows...) Refreshing the dependencies in STS will not have the same effect.
You can also do "grails dependency-report" and send me the output.
from grails-cometd.
Hey Marcusb,
Thanks a ton for the help....
Here is the log of the command and a few fies are genrated along with it....
Welcome to Grails 1.3.3 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: /Users/axm047/springsource/grails-1.3.3/
Base Directory: /Users/axm047/Documents/workspace-sts-2.3.2.RELEASE/demoComet
Resolving dependencies...
Dependencies resolved in 1771ms.
Running script /Users/axm047/springsource/grails-1.3.3/scripts/DependencyReport.groovy
Environment set to development
[mkdir] Created dir: /Users/axm047/Documents/workspace-sts-2.3.2.RELEASE/demoComet/target/dependency-report
Obtaining dependency data...
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/core-renderer-R8.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/itext-2.0.8.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/radeox-1.0-b2.jar ...
Download complete.
[report] :: loading settings :: url = jar:file:/Users/axm047/springsource/grails-1.3.3/lib/ivy-2.1.0.jar!/org/apache/ivy/core/settings/ivysettings.xml
[report] Processing /Users/axm047/.ivy2/cache/org.grails.internal-demoComet-build.xml to /Users/axm047/Documents/workspace-sts-2.3.2.RELEASE/demoComet/target/dependency-report/org.grails.internal-demoComet-build.html
[report] Processing /Users/axm047/.ivy2/cache/org.grails.internal-demoComet-compile.xml to /Users/axm047/Documents/workspace-sts-2.3.2.RELEASE/demoComet/target/dependency-report/org.grails.internal-demoComet-compile.html
[report] Processing /Users/axm047/.ivy2/cache/org.grails.internal-demoComet-provided.xml to /Users/axm047/Documents/workspace-sts-2.3.2.RELEASE/demoComet/target/dependency-report/org.grails.internal-demoComet-provided.html
[report] Processing /Users/axm047/.ivy2/cache/org.grails.internal-demoComet-runtime.xml to /Users/axm047/Documents/workspace-sts-2.3.2.RELEASE/demoComet/target/dependency-report/org.grails.internal-demoComet-runtime.html
[report] Processing /Users/axm047/.ivy2/cache/org.grails.internal-demoComet-test.xml to /Users/axm047/Documents/workspace-sts-2.3.2.RELEASE/demoComet/target/dependency-report/org.grails.internal-demoComet-test.html
[report] Processing /Users/axm047/.ivy2/cache/org.grails.internal-demoComet-build.xml to /Users/axm047/Documents/workspace-sts-2.3.2.RELEASE/demoComet/target/dependency-report/org.grails.internal-demoComet-build.graphml
[report] Processing /Users/axm047/.ivy2/cache/org.grails.internal-demoComet-compile.xml to /Users/axm047/Documents/workspace-sts-2.3.2.RELEASE/demoComet/target/dependency-report/org.grails.internal-demoComet-compile.graphml
[report] Processing /Users/axm047/.ivy2/cache/org.grails.internal-demoComet-provided.xml to /Users/axm047/Documents/workspace-sts-2.3.2.RELEASE/demoComet/target/dependency-report/org.grails.internal-demoComet-provided.graphml
[report] Processing /Users/axm047/.ivy2/cache/org.grails.internal-demoComet-runtime.xml to /Users/axm047/Documents/workspace-sts-2.3.2.RELEASE/demoComet/target/dependency-report/org.grails.internal-demoComet-runtime.graphml
[report] Processing /Users/axm047/.ivy2/cache/org.grails.internal-demoComet-test.xml to /Users/axm047/Documents/workspace-sts-2.3.2.RELEASE/demoComet/target/dependency-report/org.grails.internal-demoComet-test.graphml
Dependency report output to [/Users/axm047/Documents/workspace-sts-2.3.2.RELEASE/demoComet/target/dependency-report]
Is ther a way i can send you the zip file containing the above files ?
from grails-cometd.
Hey Marcusb,
I tried the clean command then wipping out the ivy cahce.....
but still the same error persists:
Welcome to Grails 1.3.3 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: /Users/axm047/springsource/grails-1.3.3/
Base Directory: /Users/axm047/Documents/workspace-sts-2.3.2.RELEASE/demoComet
Resolving dependencies...
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/gpars-0.9.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/svnkit-1.3.1.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/ant-1.7.1.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/ant-launcher-1.7.1.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/ant-junit-1.7.1.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/ant-nodeps-1.7.1.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/ant-trax-1.7.1.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/jline-0.9.91.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/jansi-1.2.1.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/serializer-2.7.1.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/dist/grails-docs-1.3.3.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/dist/grails-bootstrap-1.3.3.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/dist/grails-scripts-1.3.3.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/dist/grails-core-1.3.3.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/dist/grails-resources-1.3.3.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/dist/grails-web-1.3.3.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/slf4j-api-1.5.8.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/slf4j-log4j12-1.5.8.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/org.springframework.test-3.0.3.RELEASE.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/servlet-api-2.5.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/jsp-api-2.1.jar ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/cometd/java/cometd-java-server/2.0.beta1/cometd-java-server-2.0.beta1.pom ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/cometd/java/cometd-java-server/2.0.beta1/cometd-java-server-2.0.beta1.pom.sha1 ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/cometd/java/cometd-java/2.0.beta1/cometd-java-2.0.beta1.pom ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/cometd/java/cometd-java/2.0.beta1/cometd-java-2.0.beta1.pom.sha1 ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/cometd/cometd-project/2.0.beta1/cometd-project-2.0.beta1.pom ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/cometd/cometd-project/2.0.beta1/cometd-project-2.0.beta1.pom.sha1 ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/cometd/java/bayeux-api/2.0.beta1/bayeux-api-2.0.beta1.pom ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/cometd/java/bayeux-api/2.0.beta1/bayeux-api-2.0.beta1.pom.sha1 ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/cometd/java/cometd-java-common/2.0.beta1/cometd-java-common-2.0.beta1.pom ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/cometd/java/cometd-java-common/2.0.beta1/cometd-java-common-2.0.beta1.pom.sha1 ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-util/7.1.3.v20100526/jetty-util-7.1.3.v20100526.pom ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-util/7.1.3.v20100526/jetty-util-7.1.3.v20100526.pom.sha1 ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-project/7.1.3.v20100526/jetty-project-7.1.3.v20100526.pom ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-project/7.1.3.v20100526/jetty-project-7.1.3.v20100526.pom.sha1 ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-parent/15/jetty-parent-15.pom ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-parent/15/jetty-parent-15.pom.sha1 ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-continuation/7.1.3.v20100526/jetty-continuation-7.1.3.v20100526.pom ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-continuation/7.1.3.v20100526/jetty-continuation-7.1.3.v20100526.pom.sha1 ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-websocket/7.1.3.v20100526/jetty-websocket-7.1.3.v20100526.pom ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-websocket/7.1.3.v20100526/jetty-websocket-7.1.3.v20100526.pom.sha1 ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-server/7.1.3.v20100526/jetty-server-7.1.3.v20100526.pom ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-server/7.1.3.v20100526/jetty-server-7.1.3.v20100526.pom.sha1 ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-http/7.1.3.v20100526/jetty-http-7.1.3.v20100526.pom ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-http/7.1.3.v20100526/jetty-http-7.1.3.v20100526.pom.sha1 ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-io/7.1.3.v20100526/jetty-io-7.1.3.v20100526.pom ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-io/7.1.3.v20100526/jetty-io-7.1.3.v20100526.pom.sha1 ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/cometd/java/cometd-java-client/2.0.beta1/cometd-java-client-2.0.beta1.pom ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/cometd/java/cometd-java-client/2.0.beta1/cometd-java-client-2.0.beta1.pom.sha1 ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-client/7.1.3.v20100526/jetty-client-7.1.3.v20100526.pom ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-client/7.1.3.v20100526/jetty-client-7.1.3.v20100526.pom.sha1 ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/groovy-all-1.7.3.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/commons-beanutils-1.8.0.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/commons-el-1.0.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/commons-validator-1.3.1.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/aopalliance-1.0.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/commons-codec-1.3.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/commons-collections-3.2.1.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/commons-io-1.4.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/commons-lang-2.4.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/jta-1.1.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/ejb3-persistence-1.0.2.GA.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/sitemesh-2.4.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/dist/grails-crud-1.3.3.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/dist/grails-gorm-1.3.3.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/dist/grails-spring-1.3.3.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/org.springframework.core-3.0.3.RELEASE.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/org.springframework.aop-3.0.3.RELEASE.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/org.springframework.aspects-3.0.3.RELEASE.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/org.springframework.asm-3.0.3.RELEASE.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/org.springframework.beans-3.0.3.RELEASE.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/org.springframework.context-3.0.3.RELEASE.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/org.springframework.context.support-3.0.3.RELEASE.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/org.springframework.expression-3.0.3.RELEASE.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/org.springframework.instrument-3.0.3.RELEASE.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/org.springframework.jdbc-3.0.3.RELEASE.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/org.springframework.jms-3.0.3.RELEASE.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/org.springframework.orm-3.0.3.RELEASE.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/org.springframework.oxm-3.0.3.RELEASE.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/org.springframework.transaction-3.0.3.RELEASE.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/org.springframework.web-3.0.3.RELEASE.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/org.springframework.web.servlet-3.0.3.RELEASE.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/hibernate-core-3.3.1.GA.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/hibernate-commons-annotations-3.1.0.GA.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/hibernate-annotations-3.4.0.GA.jar ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/cometd/java/cometd-java-server/2.0.beta1/cometd-java-server-2.0.beta1.jar ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/cometd/java/cometd-java-server/2.0.beta1/cometd-java-server-2.0.beta1.jar.sha1 ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/cometd/java/cometd-java-server/2.0.beta1/cometd-java-server-2.0.beta1-javadoc.jar ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/cometd/java/cometd-java-server/2.0.beta1/cometd-java-server-2.0.beta1-javadoc.jar.sha1 ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/cometd/java/cometd-java-server/2.0.beta1/cometd-java-server-2.0.beta1-sources.jar ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/cometd/java/cometd-java-server/2.0.beta1/cometd-java-server-2.0.beta1-sources.jar.sha1 ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/cometd/java/bayeux-api/2.0.beta1/bayeux-api-2.0.beta1-sources.jar ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/cometd/java/bayeux-api/2.0.beta1/bayeux-api-2.0.beta1-sources.jar.sha1 ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/cometd/java/bayeux-api/2.0.beta1/bayeux-api-2.0.beta1.jar ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/cometd/java/bayeux-api/2.0.beta1/bayeux-api-2.0.beta1.jar.sha1 ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/cometd/java/bayeux-api/2.0.beta1/bayeux-api-2.0.beta1-javadoc.jar ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/cometd/java/bayeux-api/2.0.beta1/bayeux-api-2.0.beta1-javadoc.jar.sha1 ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/cometd/java/cometd-java-common/2.0.beta1/cometd-java-common-2.0.beta1.jar ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/cometd/java/cometd-java-common/2.0.beta1/cometd-java-common-2.0.beta1.jar.sha1 ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-continuation/7.1.3.v20100526/jetty-continuation-7.1.3.v20100526.jar ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-continuation/7.1.3.v20100526/jetty-continuation-7.1.3.v20100526.jar.sha1 ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-util/7.1.3.v20100526/jetty-util-7.1.3.v20100526.jar ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-util/7.1.3.v20100526/jetty-util-7.1.3.v20100526.jar.sha1 ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-websocket/7.1.3.v20100526/jetty-websocket-7.1.3.v20100526.jar ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-websocket/7.1.3.v20100526/jetty-websocket-7.1.3.v20100526.jar.sha1 ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-server/7.1.3.v20100526/jetty-server-7.1.3.v20100526.jar ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-server/7.1.3.v20100526/jetty-server-7.1.3.v20100526.jar.sha1 ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-http/7.1.3.v20100526/jetty-http-7.1.3.v20100526.jar ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-http/7.1.3.v20100526/jetty-http-7.1.3.v20100526.jar.sha1 ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-io/7.1.3.v20100526/jetty-io-7.1.3.v20100526.jar ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-io/7.1.3.v20100526/jetty-io-7.1.3.v20100526.jar.sha1 ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/aspectjweaver-1.6.8.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/aspectjrt-1.6.8.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/cglib-nodep-2.1_3.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/commons-fileupload-1.2.1.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/oro-2.0.8.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/jstl-1.1.2.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/commons-dbcp-1.2.2.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/commons-pool-1.5.3.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/hsqldb-1.8.0.10.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/ehcache-core-1.7.1.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/log4j-1.2.15.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/jcl-over-slf4j-1.5.8.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/jul-to-slf4j-1.5.8.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/standard-1.1.2.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/xpp3_min-1.1.3.4.O.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/javassist-3.11.0.GA.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/antlr-2.7.6.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/dom4j-1.6.1.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/hibernate-ehcache-3.3.1.GA.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/lib/junit-4.8.1.jar ...
Download complete.
Downloading: /Users/axm047/springsource/grails-1.3.3/dist/grails-test-1.3.3.jar ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/cometd/java/cometd-java-client/2.0.beta1/cometd-java-client-2.0.beta1.jar ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/cometd/java/cometd-java-client/2.0.beta1/cometd-java-client-2.0.beta1.jar.sha1 ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/cometd/java/cometd-java-client/2.0.beta1/cometd-java-client-2.0.beta1-sources.jar ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/cometd/java/cometd-java-client/2.0.beta1/cometd-java-client-2.0.beta1-sources.jar.sha1 ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/cometd/java/cometd-java-client/2.0.beta1/cometd-java-client-2.0.beta1-javadoc.jar ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/cometd/java/cometd-java-client/2.0.beta1/cometd-java-client-2.0.beta1-javadoc.jar.sha1 ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-client/7.1.3.v20100526/jetty-client-7.1.3.v20100526.jar ...
Download complete.
Downloading: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-client/7.1.3.v20100526/jetty-client-7.1.3.v20100526.jar.sha1 ...
Download complete.
Dependencies resolved in 57085ms.
Running script /Users/axm047/springsource/grails-1.3.3/scripts/RunApp.groovy
Environment set to development
[copy] Copied 3 empty directories to 1 empty directory under /Users/axm047/.grails/1.3.3/projects/demoComet/resources
[mkdir] Created dir: /Users/axm047/.grails/1.3.3/projects/demoComet/plugin-classes
[groovyc] Compiling 2 source files to /Users/axm047/.grails/1.3.3/projects/demoComet/plugin-classes
[mkdir] Created dir: /Users/axm047/Documents/workspace-sts-2.3.2.RELEASE/demoComet/target/classes
[groovyc] Compiling 7 source files to /Users/axm047/Documents/workspace-sts-2.3.2.RELEASE/demoComet/target/classes
[mkdir] Created dir: /Users/axm047/.grails/1.3.3/projects/demoComet/resources/grails-app/i18n
[native2ascii] Converting 13 files from /Users/axm047/Documents/workspace-sts-2.3.2.RELEASE/demoComet/grails-app/i18n to /Users/axm047/.grails/1.3.3/projects/demoComet/resources/grails-app/i18n
[copy] Copying 1 file to /Users/axm047/Documents/workspace-sts-2.3.2.RELEASE/demoComet/target/classes
[copy] Copied 2 empty directories to 2 empty directories under /Users/axm047/.grails/1.3.3/projects/demoComet/resources
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
/Users/axm047/.grails/1.3.3/projects/demoComet/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/axm047/.grails/1.3.3/projects/demoComet/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/axm047/.grails/1.3.3/projects/demoComet/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
^
3 errors
at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:296)
at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:828)
at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:511)
at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:487)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:464)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:448)
at _PluginDependencies_groovy$_run_closure5_closure38.doCall(_PluginDependencies_groovy:242)
at _PluginDependencies_groovy$_run_closure5_closure38.doCall(_PluginDependencies_groovy)
at _GrailsSettings_groovy$_run_closure10.doCall(_GrailsSettings_groovy:280)
at _GrailsSettings_groovy$_run_closure10.call(_GrailsSettings_groovy)
at _PluginDependencies_groovy$_run_closure5.doCall(_PluginDependencies_groovy:241)
at _GrailsPackage_groovy$_run_closure2.doCall(_GrailsPackage_groovy:167)
at RunApp$_run_closure1.doCall(RunApp:28)
at gant.Gant$_dispatch_closure5.doCall(Gant.groovy:381)
at gant.Gant$_dispatch_closure7.doCall(Gant.groovy:415)
at gant.Gant$_dispatch_closure7.doCall(Gant.groovy)
at gant.Gant.withBuildListeners(Gant.groovy:427)
at gant.Gant.this$2$withBuildListeners(Gant.groovy)
at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source)
at gant.Gant.dispatch(Gant.groovy:415)
at gant.Gant.this$2$dispatch(Gant.groovy)
at gant.Gant.invokeMethod(Gant.groovy)
at gant.Gant.executeTargets(Gant.groovy:590)
at gant.Gant.executeTargets(Gant.groovy:589)
Error loading plugin manager: startup failed:
/Users/axm047/.grails/1.3.3/projects/demoComet/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/axm047/.grails/1.3.3/projects/demoComet/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/axm047/.grails/1.3.3/projects/demoComet/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
^
3 errors
from grails-cometd.
I just tried the following with Grails 1.3.4 on Linux, and it works:
grails create-app comet
cd comet
grails install-plugin cometd
grails run-app
What does that give you?
from grails-cometd.
Hey Marcusb,
I tried the same thing on MAC OS X again But with Grails 1.3.3 and i get this error:
Welcome to Grails 1.3.3 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: /Users/axm047/springsource/grails-1.3.3/
Base Directory: /Users/axm047/Documents/workspace-sts-2.3.2.RELEASE/demoComet
Resolving dependencies...
Dependencies resolved in 1455ms.
Running script /Users/axm047/springsource/grails-1.3.3/scripts/RunApp.groovy
Environment set to development
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
/Users/axm047/.grails/1.3.3/projects/demoComet/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/axm047/.grails/1.3.3/projects/demoComet/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/axm047/.grails/1.3.3/projects/demoComet/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
^
3 errors
at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:296)
at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:828)
at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:511)
at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:487)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:464)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:448)
at _PluginDependencies_groovy$_run_closure5_closure38.doCall(_PluginDependencies_groovy:242)
at _PluginDependencies_groovy$_run_closure5_closure38.doCall(_PluginDependencies_groovy)
at _GrailsSettings_groovy$_run_closure10.doCall(_GrailsSettings_groovy:280)
at _GrailsSettings_groovy$_run_closure10.call(_GrailsSettings_groovy)
at _PluginDependencies_groovy$_run_closure5.doCall(_PluginDependencies_groovy:241)
at _GrailsPackage_groovy$_run_closure2.doCall(_GrailsPackage_groovy:167)
at RunApp$_run_closure1.doCall(RunApp:28)
at gant.Gant$_dispatch_closure5.doCall(Gant.groovy:381)
at gant.Gant$_dispatch_closure7.doCall(Gant.groovy:415)
at gant.Gant$_dispatch_closure7.doCall(Gant.groovy)
at gant.Gant.withBuildListeners(Gant.groovy:427)
at gant.Gant.this$2$withBuildListeners(Gant.groovy)
at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source)
at gant.Gant.dispatch(Gant.groovy:415)
at gant.Gant.this$2$dispatch(Gant.groovy)
at gant.Gant.invokeMethod(Gant.groovy)
at gant.Gant.executeTargets(Gant.groovy:590)
at gant.Gant.executeTargets(Gant.groovy:589)
Error loading plugin manager: startup failed:
/Users/axm047/.grails/1.3.3/projects/demoComet/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/axm047/.grails/1.3.3/projects/demoComet/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/axm047/.grails/1.3.3/projects/demoComet/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
^
3 errors
from grails-cometd.
Can you try Grails 1.3.4?
from grails-cometd.
Hi Marcusb,
I tried the same thing on Grails 1.3.4 and MAC OS X and i still get the same error ...
Welcome to Grails 1.3.4 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: /Users/axm047/Desktop/grails-1.3.4/
Base Directory: /Users/axm047/Documents/workspace-sts-2.3.2.RELEASE/come134
Resolving dependencies...
Dependencies resolved in 1281ms.
Running script /Users/axm047/Desktop/grails-1.3.4/scripts/RunApp.groovy
Environment set to development
[copy] Copied 3 empty directories to 3 empty directories under /Users/axm047/.grails/1.3.4/projects/come134/resources
[mkdir] Created dir: /Users/axm047/.grails/1.3.4/projects/come134/plugin-classes
[groovyc] Compiling 2 source files to /Users/axm047/.grails/1.3.4/projects/come134/plugin-classes
[mkdir] Created dir: /Users/axm047/Documents/workspace-sts-2.3.2.RELEASE/come134/target/classes
[groovyc] Compiling 7 source files to /Users/axm047/Documents/workspace-sts-2.3.2.RELEASE/come134/target/classes
[mkdir] Created dir: /Users/axm047/.grails/1.3.4/projects/come134/resources/grails-app/i18n
[native2ascii] Converting 13 files from /Users/axm047/Documents/workspace-sts-2.3.2.RELEASE/come134/grails-app/i18n to /Users/axm047/.grails/1.3.4/projects/come134/resources/grails-app/i18n
[copy] Copying 1 file to /Users/axm047/Documents/workspace-sts-2.3.2.RELEASE/come134/target/classes
[copy] Copied 2 empty directories to 2 empty directories under /Users/axm047/.grails/1.3.4/projects/come134/resources
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
/Users/axm047/.grails/1.3.4/projects/come134/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/axm047/.grails/1.3.4/projects/come134/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/axm047/.grails/1.3.4/projects/come134/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
^
3 errors
at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:296)
at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:829)
at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:511)
at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:487)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:464)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:448)
at _PluginDependencies_groovy$_run_closure5_closure38.doCall(_PluginDependencies_groovy:244)
at _PluginDependencies_groovy$_run_closure5_closure38.doCall(_PluginDependencies_groovy)
at _GrailsSettings_groovy$_run_closure10.doCall(_GrailsSettings_groovy:280)
at _GrailsSettings_groovy$_run_closure10.call(_GrailsSettings_groovy)
at _PluginDependencies_groovy$_run_closure5.doCall(_PluginDependencies_groovy:243)
at _GrailsPackage_groovy$_run_closure2.doCall(_GrailsPackage_groovy:167)
at RunApp$_run_closure1.doCall(RunApp.groovy:28)
at gant.Gant$_dispatch_closure5.doCall(Gant.groovy:381)
at gant.Gant$_dispatch_closure7.doCall(Gant.groovy:415)
at gant.Gant$_dispatch_closure7.doCall(Gant.groovy)
at gant.Gant.withBuildListeners(Gant.groovy:427)
at gant.Gant.this$2$withBuildListeners(Gant.groovy)
at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source)
at gant.Gant.dispatch(Gant.groovy:415)
at gant.Gant.this$2$dispatch(Gant.groovy)
at gant.Gant.invokeMethod(Gant.groovy)
at gant.Gant.executeTargets(Gant.groovy:590)
at gant.Gant.executeTargets(Gant.groovy:589)
Error loading plugin manager: startup failed:
/Users/axm047/.grails/1.3.4/projects/come134/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/axm047/.grails/1.3.4/projects/come134/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/axm047/.grails/1.3.4/projects/come134/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
^
3 errors
from grails-cometd.
Ok, I'm out of ideas... it seems to download the jars correctly at least. Don't know why they don't end up on the classpath.
from grails-cometd.
Hi Marcusb,
Thanks for the help....
I will try to figure out a way and if i am able to solve the issue i vl post the solution here.
Thanks a ton for sparing time.
-Amit
from grails-cometd.
Ok, I think a solution was found in issue #3. It looks like you need Java 6.
from grails-cometd.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grails-cometd.