[Building Sakai] problem in build a sakai project
yolima u
yolimita.uribe at gmail.com
Fri Apr 17 16:36:03 PDT 2009
hi, thanks for your help, i tryed with that and it worked fine. I tryed too
doing the class HolapruebaEntityProvider like abstract and it worked too,
so i don´t know if this two things do the same in eclipse, but, well it
worked
thaks, bye
Rick Moyer wrote:
>
>
>
>
>
>
>
>
> I ran into the same problem
> yesterday and the following change worked for me.
>
> the pom.xml in root of your project will have the following
> entitybroker dependencies toward the bottom of the file.
> I changed the version from [1.3.3,1.4.0) to 1.3.3
>
>
> <dependency>
>
> <groupId>org.sakaiproject.entitybroker</groupId>
>
> <artifactId>entitybroker-api</artifactId>
>
> <version>[1.3.3,1.4.0)</version>
>
> <scope>provided</scope>
>
> </dependency>
>
> <dependency>
>
> <groupId>org.sakaiproject.entitybroker</groupId>
>
> <artifactId>entitybroker-utils</artifactId>
>
> <version>[1.3.3,1.4.0)</version>
>
> </dependency>
>
> I changed it to
>
>
> <dependency>
>
> <groupId>org.sakaiproject.entitybroker</groupId>
>
> <artifactId>entitybroker-api</artifactId>
>
> <version>1.3.3</version>
>
> <scope>provided</scope>
>
> </dependency>
>
> <dependency>
>
> <groupId>org.sakaiproject.entitybroker</groupId>
>
> <artifactId>entitybroker-utils</artifactId>
>
> <version>1.3.3</version>
>
> </dependency>
>
> Rick.
>
>
> yolima u wrote:
>
> hi evereybody,
>
> i trying to do a new sakai project with appbuilder and when i buil it with
> maven, it is failure
>
> this is the error:
>
>
> [INFO] Compiling 2 source files to
> E:\sakai-src-2.5.0\Prueba\impl\m2-target\classes
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
> E:\sakai-src-2.5.0\Prueba\impl\src\java\org\sakaiproject\prueba\logic\entity\PruebaEntityProvider.java:[32,7]
> org.sakaiproject.prueba.logic.entity.Pru
> ebaEntityProvider is not abstract and does not override abstract method
> createEntity(org.sakaiproject.entitybroker.EntityReference,java.lang.Object,ja
> va.util.Map<java.lang.String,java.lang.Object>) in
> org.sakaiproject.entitybroker.entityprovider.capabilities.Createable
>
>
>
> E:\sakai-src-2.5.0\Prueba\impl\src\java\org\sakaiproject\prueba\logic\entity\PruebaEntityProvider.java:[32,7]
> org.sakaiproject.prueba.logic.entity.Pru
> ebaEntityProvider is not abstract and does not override abstract method
> createEntity(org.sakaiproject.entitybroker.EntityReference,java.lang.Object,ja
> va.util.Map<java.lang.String,java.lang.Object>) in
> org.sakaiproject.entitybroker.entityprovider.capabilities.Createable
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.BuildFailureException: Compilation failure
> E:\sakai-src-2.5.0\Prueba\impl\src\java\org\sakaiproject\prueba\logic\entity\PruebaEntityProvider.java:[32,7]
> org.sakaiproject.prueba.logic.entity.Pru
> ebaEntityProvider is not abstract and does not override abstract method
> createEntity(org.sakaiproject.entitybroker.EntityReference,java.lang.Object,ja
> va.util.Map<java.lang.String,java.lang.Object>) in
> org.sakaiproject.entitybroker.entityprovider.capabilities.Createable
>
>
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:579)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.CompilationFailureException:
> Compilation
> failure
> E:\sakai-src-2.5.0\Prueba\impl\src\java\org\sakaiproject\prueba\logic\entity\PruebaEntityProvider.java:[32,7]
> org.sakaiproject.prueba.logic.entity.Pru
> ebaEntityProvider is not abstract and does not override abstract method
> createEntity(org.sakaiproject.entitybroker.EntityReference,java.lang.Object,ja
> va.util.Map<java.lang.String,java.lang.Object>) in
> org.sakaiproject.entitybroker.entityprovider.capabilities.Createable
>
>
> at
> org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516)
> at
> org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
> at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
> ... 16 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 12 seconds
> [INFO] Finished at: Thu Apr 16 17:53:45 GMT-05:00 2009
> [INFO] Final Memory: 17M/254M
> [INFO]
> ------------------------------------------------------------------------
>
>
> i don't know what is the problem, help me please, thanks
>
>
>
>
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to
> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>
--
View this message in context: http://www.nabble.com/problem-in-build-a-sakai-project-tp23088119p23107794.html
Sent from the Sakai - Development mailing list archive at Nabble.com.
More information about the sakai-dev
mailing list