build fails when building sample-web

7 views
Skip to first unread message

S_SuhoThayan

unread,
Aug 17, 2010, 12:57:38 PM8/17/10
to Persistence4J
The build was filing
I only took the checkout of sample web but I have already build
persistence4j.

I got checkout form,
http://persistence4j.googlecode.com/svn/tags/0.1-beta/sample/persistence4J-sample-web
but its filling to compile.


[INFO] [compiler:compile]
[WARNING] File encoding has not been set, using platform encoding
UTF-8, i.e. build is platform dependent!
[INFO] Compiling 40 source files to /home/suho/proj/persistance4j_b/
target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /home/suho/proj/persistance4j_b/src/main/java/com/avdy/p4j/
sample/server/guice/GuiceServerModule.java:[68,49] unreported
exception java.lang.Exception; must be caught or declared to be thrown

[INFO] 1error
[INFO] -------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure
/home/suho/proj/persistance4j_b/src/main/java/com/avdy/p4j/sample/
server/guice/GuiceServerModule.java:[68,49] unreported exception
java.lang.Exception; must be caught or declared to be thrown



/home/suho/proj/persistance4j_b/src/main/java/com/avdy/p4j/sample/
server/guice/GuiceServerModule.java:[68,49] unreported exception
java.lang.Exception; must be caught or declared to be thrown


[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2 minutes 5 seconds
[INFO] Finished at: Tue Aug 17 21:38:10 IST 2010
[INFO] Final Memory: 20M/329M
[INFO]
------------------------------------------------------------------------

avdhesh

unread,
Aug 17, 2010, 1:25:28 PM8/17/10
to Persistence4J
Can you do clean check out of trunk again and then first build
persistence4j ..after successful build of persistence4j and then build
persistence4j-smaple-web.
If the trunk build fails ...then try building the released 0.1-beta
version..


On Aug 17, 9:57 pm, S_SuhoThayan <suhotha...@gmail.com> wrote:
> The build was filing
> I only took the checkout of sample web but I have already build
> persistence4j.
>
> I got checkout form,http://persistence4j.googlecode.com/svn/tags/0.1-beta/sample/persiste...

Suhothayan Sriskandarajah

unread,
Aug 18, 2010, 12:57:38 AM8/18/10
to persis...@googlegroups.com
On 17 August 2010 22:55, avdhesh <avdhes...@gmail.com> wrote:
Can you do clean check out of trunk again and then first build
persistence4j ..after successful build of persistence4j and then build
persistence4j-smaple-web.
If the trunk build fails ...then try building the released 0.1-beta
version..

I tryed the samples and this is the error I got....

 Enabling strict checksum verification on all artifact downloads.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building persistence4J-sample-web
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] artifact org.codehaus.mojo:gwt-maven-plugin: checking for updates from central
[INFO] [clean:clean]
[INFO] Deleting directory /home/suho/proj/p4j-s1/target
[INFO] [resources:resources]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 0 resource
[INFO] snapshot net.customware.gwt.presenter:gwt-presenter:1.1.0-replace-SNAPSHOT: checking for updates from persistence4j-repo
[INFO] snapshot net.customware.gwt.presenter:gwt-presenter:1.1.0-replace-SNAPSHOT: checking for updates from gwt-dispatch
[INFO] snapshot net.customware.gwt.presenter:gwt-presenter:1.1.0-replace-SNAPSHOT: checking for updates from guice-maven
[INFO] snapshot net.customware.gwt.presenter:gwt-presenter:1.1.0-replace-SNAPSHOT: checking for updates from gwt-presenter
[INFO] snapshot net.customware.gwt.presenter:gwt-presenter:1.1.0-replace-SNAPSHOT: checking for updates from gwtmosaic

[INFO] [compiler:compile]
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 40 source files to /home/suho/proj/p4j-s1/target/classes

[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /home/suho/proj/p4j-s1/src/main/java/com/avdy/p4j/sample/server/guice/GuiceServerModule.java:[68,49] unreported exception java.lang.Exception; must be caught or declared to be thrown


[INFO] 1error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
/home/suho/proj/p4j-s1/src/main/java/com/avdy/p4j/sample/server/guice/GuiceServerModule.java:[68,49] unreported exception java.lang.Exception; must be caught or declared to be thrown



/home/suho/proj/p4j-s1/src/main/java/com/avdy/p4j/sample/server/guice/GuiceServerModule.java:[68,49] unreported exception java.lang.Exception; must be caught or declared to be thrown



[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 16 seconds
[INFO] Finished at: Wed Aug 18 10:24:37 IST 2010
[INFO] Final Memory: 22M/330M
[INFO] ------------------------------------------------------------------------


suho
 

avdhesh

unread,
Aug 18, 2010, 1:02:19 AM8/18/10
to Persistence4J
Enabling strict checksum verification on all artifact downloads. This
is causing the problem.Some of the dependencies not have checksum but
you have enabled the checksum verification on all the artifacts thats
why maven is not downloading those dependencies.Please disable the
checksum verification..then it should be build...

On Aug 18, 9:57 am, Suhothayan Sriskandarajah <suhotha...@gmail.com>
wrote:
Message has been deleted

Suhothayan Sriskandarajah

unread,
Aug 18, 2010, 1:22:14 AM8/18/10
to persis...@googlegroups.com
On 18 August 2010 10:32, avdhesh <avdhes...@gmail.com> wrote:
Enabling strict checksum verification on all artifact downloads. This
is causing the problem.Some of the dependencies  not have checksum but
you have enabled the checksum verification on all the artifacts thats
why maven is not downloading those dependencies.Please disable the
checksum verification..then it should be build...

its now building
thanks

suho
Reply all
Reply to author
Forward
0 new messages