[Geoserver-devel] Error : trying to run with Jetty6

Hi,

I have successfully build the geoserver 1.4.x but I am getting a Error when I use:

What do I need to do about this? Thanks

C:\Projects\GeoServer\1.4.x\web>mvn jetty6:run

……

[ERROR] BUILD ERROR

[INFO] ------------------------------------------------------------------------

[INFO] Failure

Embedded error: Error creating bean with name ‘config’ defined in URL [jar:file:/C:/Documents%20and%20Settings/gerhardg/

.m2/repository/org/geoserver/main/1.4.0-M0/main-1.4.0-M0.jar!/applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.NullPointerException: null

[INFO] ------------------------------------------------------------------------

[INFO] For more information, run Maven with the -e switch

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 13 seconds

[INFO] Finished at: Wed Jul 05 11:18:55 CAT 2006

[INFO] Final Memory: 15M/28M

[INFO] ------------------------------------------------------------------------

2922 [Shutdown] INFO org.mortbay.log - Shutdown hook executing

2922 [Shutdown] INFO org.mortbay.log - Shutdown hook complete

C:\Projects\GeoServer\1.4.x\web>

Regards,

Gerhard Goosen

I think I know what the problem is. It has to do with the config deployment maven plugin. I changed the structure of the maven plugins to be similar to geotools, everything under a subdirectory maven, i think i screwed something up in the process.

A quick solution to get you running is to go to maven/config and do a maven install from there. Then you should be able to run from the web module. I will work on a better fix.

-Justin

Gerhard Goosen wrote:

Hi,

I have successfully build the geoserver 1.4.x but I am getting a Error when I use:

What do I need to do about this? Thanks

*C:\Projects\GeoServer\1.4.x\web>mvn jetty6:run*

*…..*

*[ERROR] BUILD ERROR*

*[INFO] ------------------------------------------------------------------------*

*[INFO] Failure*

* *

*Embedded error: Error creating bean with name 'config' defined in URL [jar:file:/C:/Documents%20and%20Settings/gerhardg/*

*.m2/repository/org/geoserver/main/1.4.0-M0/main-1.4.0-M0.jar!/applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.NullPointerException: null*

*[INFO] ------------------------------------------------------------------------*

*[INFO] For more information, run Maven with the -e switch*

*[INFO] ------------------------------------------------------------------------*

*[INFO] Total time: 13 seconds*

*[INFO] Finished at: Wed Jul 05 11:18:55 CAT 2006*

*[INFO] Final Memory: 15M/28M*

*[INFO] ------------------------------------------------------------------------*

*2922 [Shutdown] INFO org.mortbay.log - Shutdown hook executing*

*2922 [Shutdown] INFO org.mortbay.log - Shutdown hook complete*

* *

*C:\Projects\GeoServer\1.4.x\web>*

* *

* *

* *

* *

Regards,

Gerhard Goosen

!DSPAM:1004,44ab859127732207481331!

------------------------------------------------------------------------

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

!DSPAM:1004,44ab859127732207481331!

------------------------------------------------------------------------

_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

!DSPAM:1004,44ab859127732207481331!

--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com

Hi Justin,

GG is reviewing the docs that I am writing so that is how he found the error. Should we include the quick solution in the docs..? Or else we can ignore this problem for now.

Kind Regards
Clint Lewis

Justin Deoliveira wrote:

I think I know what the problem is. It has to do with the config deployment maven plugin. I changed the structure of the maven plugins to be similar to geotools, everything under a subdirectory maven, i think i screwed something up in the process.

A quick solution to get you running is to go to maven/config and do a maven install from there. Then you should be able to run from the web module. I will work on a better fix.

-Justin

Gerhard Goosen wrote:
  

Hi,

I have successfully build the geoserver 1.4.x but I am getting a Error when I use:

What do I need to do about this? Thanks

*C:\Projects\GeoServer\1.4.x\web>mvn jetty6:run*

*…..*

*[ERROR] BUILD ERROR*

*[INFO] ------------------------------------------------------------------------*

*[INFO] Failure*

* *

*Embedded error: Error creating bean with name 'config' defined in URL [jar:file:/C:/Documents%20and%20Settings/gerhardg/*

*.m2/repository/org/geoserver/main/1.4.0-M0/main-1.4.0-M0.jar!/applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.NullPointerException: null*

*[INFO] ------------------------------------------------------------------------*

*[INFO] For more information, run Maven with the -e switch*

*[INFO] ------------------------------------------------------------------------*

*[INFO] Total time: 13 seconds*

*[INFO] Finished at: Wed Jul 05 11:18:55 CAT 2006*

*[INFO] Final Memory: 15M/28M*

*[INFO] ------------------------------------------------------------------------*

*2922 [Shutdown] INFO org.mortbay.log - Shutdown hook executing*

*2922 [Shutdown] INFO org.mortbay.log - Shutdown hook complete*

* *

*C:\Projects\GeoServer\1.4.x\web>*

* *

* *

* *

* *

Regards,

Gerhard Goosen

!DSPAM:1004,44ab859127732207481331!

------------------------------------------------------------------------

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

!DSPAM:1004,44ab859127732207481331!

------------------------------------------------------------------------

_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

!DSPAM:1004,44ab859127732207481331!
    

Justin Deoliveira wrote:

I think I know what the problem is. It has to do with the config deployment maven plugin. I changed the structure of the maven plugins to be similar to geotools, everything under a subdirectory maven, i think i screwed something up in the process.

A quick solution to get you running is to go to maven/config and do a maven install from there. Then you should be able to run from the web module. I will work on a better fix.
  

May as well wait till you fix it ... Gerhard is working through QA on the documentation. Quick fix not needed.
Jody

Nope, it should never come up, its an error in the build system. I just committed the fix.

-Justin

Clint Lewis wrote:

Hi Justin,

GG is reviewing the docs that I am writing so that is how he found the error. Should we include the quick solution in the docs..? Or else we can ignore this problem for now.

Kind Regards
Clint Lewis

Justin Deoliveira wrote:

I think I know what the problem is. It has to do with the config deployment maven plugin. I changed the structure of the maven plugins to be similar to geotools, everything under a subdirectory maven, i think i screwed something up in the process.

A quick solution to get you running is to go to maven/config and do a maven install from there. Then you should be able to run from the web module. I will work on a better fix.

-Justin

Gerhard Goosen wrote:

Hi,

I have successfully build the geoserver 1.4.x but I am getting a Error when I use:

What do I need to do about this? Thanks

*C:\Projects\GeoServer\1.4.x\web>mvn jetty6:run*

*…..*

*[ERROR] BUILD ERROR*

*[INFO] ------------------------------------------------------------------------*

*[INFO] Failure*

* *

*Embedded error: Error creating bean with name 'config' defined in URL [jar:file:/C:/Documents%20and%20Settings/gerhardg/*

*.m2/repository/org/geoserver/main/1.4.0-M0/main-1.4.0-M0.jar!/applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.NullPointerException: null*

*[INFO] ------------------------------------------------------------------------*

*[INFO] For more information, run Maven with the -e switch*

*[INFO] ------------------------------------------------------------------------*

*[INFO] Total time: 13 seconds*

*[INFO] Finished at: Wed Jul 05 11:18:55 CAT 2006*

*[INFO] Final Memory: 15M/28M*

*[INFO] ------------------------------------------------------------------------*

*2922 [Shutdown] INFO org.mortbay.log - Shutdown hook executing*

*2922 [Shutdown] INFO org.mortbay.log - Shutdown hook complete*

* *

*C:\Projects\GeoServer\1.4.x\web>*

* *

* *

* *

* *

Regards,

Gerhard Goosen

------------------------------------------------------------------------

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

!DSPAM:1004,44ab859127732207481331!

------------------------------------------------------------------------

_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

!DSPAM:1004,44ab859127732207481331!
   
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

!DSPAM:1004,44ab875528831995013331!

--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com