[Geoserver-users] Eclipse Quickstart problem

Hi,
I'm following the http://geoserver.org/display/GEOSDOC/3+Eclipse+Quickstart
Eclipse Quickstart tutorial and when I try to run debug I get the following
problem accessing 1.7.0-SNAPSHOT

How do I correct this?

Cheers,
Jon

[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'jetty'.
[INFO]
------------------------------------------------------------------------
[INFO] Building Web Application Module
[INFO] task-segment: [jetty:run]
[INFO]
------------------------------------------------------------------------
[INFO] Preparing jetty:run
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading:
http://lists.refractions.net/m2//org/geoserver/platform/1.7.0-SNAPSHOT/platform-1.7.0-SNAPSHOT.pom
Downloading:
http://lists.refractions.net/m2//org/geoserver/data/1.7.0-SNAPSHOT/data-1.7.0-SNAPSHOT.pom
Downloading:
http://lists.refractions.net/m2//org/geoserver/main/1.7.0-SNAPSHOT/main-1.7.0-SNAPSHOT.pom
Downloading:
http://lists.refractions.net/m2//org/geoserver/wcs/1.7.0-SNAPSHOT/wcs-1.7.0-SNAPSHOT.pom
Downloading:
http://lists.refractions.net/m2//org/geoserver/wcs1_1/1.7.0-SNAPSHOT/wcs1_1-1.7.0-SNAPSHOT.pom
Downloading:
http://lists.refractions.net/m2//org/geoserver/wfs/1.7.0-SNAPSHOT/wfs-1.7.0-SNAPSHOT.pom
Downloading:
http://lists.refractions.net/m2//org/geoserver/wms/1.7.0-SNAPSHOT/wms-1.7.0-SNAPSHOT.pom
Downloading:
http://lists.refractions.net/m2//org/geoserver/validation/1.7.0-SNAPSHOT/validation-1.7.0-SNAPSHOT.pom
Downloading:
http://lists.refractions.net/m2//org/geoserver/wfsv/1.7.0-SNAPSHOT/wfsv-1.7.0-SNAPSHOT.pom
Downloading:
http://lists.refractions.net/m2//org/geoserver/platform/1.7.0-SNAPSHOT/platform-1.7.0-SNAPSHOT.jar
Downloading:
http://lists.refractions.net/m2//org/geoserver/data/1.7.0-SNAPSHOT/data-1.7.0-SNAPSHOT.jar
Downloading:
http://lists.refractions.net/m2//org/geoserver/main/1.7.0-SNAPSHOT/main-1.7.0-SNAPSHOT.jar
Downloading:
http://lists.refractions.net/m2//org/geoserver/wcs/1.7.0-SNAPSHOT/wcs-1.7.0-SNAPSHOT.jar
Downloading:
http://lists.refractions.net/m2//org/geoserver/wcs1_1/1.7.0-SNAPSHOT/wcs1_1-1.7.0-SNAPSHOT.jar
Downloading:
http://lists.refractions.net/m2//org/geoserver/wfs/1.7.0-SNAPSHOT/wfs-1.7.0-SNAPSHOT.jar
Downloading:
http://lists.refractions.net/m2//org/geoserver/wms/1.7.0-SNAPSHOT/wms-1.7.0-SNAPSHOT.jar
Downloading:
http://lists.refractions.net/m2//org/geoserver/validation/1.7.0-SNAPSHOT/validation-1.7.0-SNAPSHOT.jar
Downloading:
http://lists.refractions.net/m2//org/geoserver/wfsv/1.7.0-SNAPSHOT/wfsv-1.7.0-SNAPSHOT.jar
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.geoserver:platform:jar:1.7.0-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.geoserver -DartifactId=platform
-Dversion=1.7.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:
      mvn deploy:deploy-file -DgroupId=org.geoserver -DartifactId=platform
-Dversion=1.7.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]

  Path to dependency:
    1) org.geoserver:web:jar:1.7.0-SNAPSHOT
    2) org.geoserver:platform:jar:1.7.0-SNAPSHOT

2) org.geoserver:data:jar:1.7.0-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.geoserver -DartifactId=data
-Dversion=1.7.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:
      mvn deploy:deploy-file -DgroupId=org.geoserver -DartifactId=data
-Dversion=1.7.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]

  Path to dependency:
    1) org.geoserver:web:jar:1.7.0-SNAPSHOT
    2) org.geoserver:data:jar:1.7.0-SNAPSHOT

3) org.geoserver:main:jar:1.7.0-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.geoserver -DartifactId=main
-Dversion=1.7.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:
      mvn deploy:deploy-file -DgroupId=org.geoserver -DartifactId=main
-Dversion=1.7.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]

  Path to dependency:
    1) org.geoserver:web:jar:1.7.0-SNAPSHOT
    2) org.geoserver:main:jar:1.7.0-SNAPSHOT

4) org.geoserver:wcs:jar:1.7.0-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.geoserver -DartifactId=wcs
-Dversion=1.7.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:
      mvn deploy:deploy-file -DgroupId=org.geoserver -DartifactId=wcs
-Dversion=1.7.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]

  Path to dependency:
    1) org.geoserver:web:jar:1.7.0-SNAPSHOT
    2) org.geoserver:wcs:jar:1.7.0-SNAPSHOT

5) org.geoserver:wcs1_1:jar:1.7.0-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.geoserver -DartifactId=wcs1_1
-Dversion=1.7.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:
      mvn deploy:deploy-file -DgroupId=org.geoserver -DartifactId=wcs1_1
-Dversion=1.7.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]

  Path to dependency:
    1) org.geoserver:web:jar:1.7.0-SNAPSHOT
    2) org.geoserver:wcs1_1:jar:1.7.0-SNAPSHOT

6) org.geoserver:wfs:jar:1.7.0-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.geoserver -DartifactId=wfs
-Dversion=1.7.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:
      mvn deploy:deploy-file -DgroupId=org.geoserver -DartifactId=wfs
-Dversion=1.7.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]

  Path to dependency:
    1) org.geoserver:web:jar:1.7.0-SNAPSHOT
    2) org.geoserver:wfs:jar:1.7.0-SNAPSHOT

7) org.geoserver:wms:jar:1.7.0-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.geoserver -DartifactId=wms
-Dversion=1.7.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:
      mvn deploy:deploy-file -DgroupId=org.geoserver -DartifactId=wms
-Dversion=1.7.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]

  Path to dependency:
    1) org.geoserver:web:jar:1.7.0-SNAPSHOT
    2) org.geoserver:wms:jar:1.7.0-SNAPSHOT

8) org.geoserver:validation:jar:1.7.0-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.geoserver
-DartifactId=validation -Dversion=1.7.0-SNAPSHOT -Dpackaging=jar
-Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:
      mvn deploy:deploy-file -DgroupId=org.geoserver -DartifactId=validation
-Dversion=1.7.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]

  Path to dependency:
    1) org.geoserver:web:jar:1.7.0-SNAPSHOT
    2) org.geoserver:validation:jar:1.7.0-SNAPSHOT

9) org.geoserver:wfsv:jar:1.7.0-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.geoserver -DartifactId=wfsv
-Dversion=1.7.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:
      mvn deploy:deploy-file -DgroupId=org.geoserver -DartifactId=wfsv
-Dversion=1.7.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]

  Path to dependency:
    1) org.geoserver:web:jar:1.7.0-SNAPSHOT
    2) org.geoserver:wfsv:jar:1.7.0-SNAPSHOT

----------
9 required artifacts are missing.

for artifact:
  org.geoserver:web:jar:1.7.0-SNAPSHOT

from the specified remote repositories:
  geotools (http://maven.geotools.fr/repository/),
  mortbay (http://www.mortbay.org/maven2/release),
  refractions (http://lists.refractions.net/m2/),
  central (http://repo1.maven.org/maven2)

[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 33 seconds
[INFO] Finished at: Sun Feb 17 14:43:47 GMT 2008
[INFO] Final Memory: 11M/20M
[INFO]
------------------------------------------------------------------------

--
View this message in context: http://www.nabble.com/Eclipse-Quickstart-problem-tp15530310p15530310.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Jon Britton ha scritto:

Hi,
I'm following the http://geoserver.org/display/GEOSDOC/3+Eclipse+Quickstart
Eclipse Quickstart tutorial and when I try to run debug I get the following
problem accessing 1.7.0-SNAPSHOT

Hum... "when I try to run debug"... yet the output you provided
is the output of a maven command line.
Given the output I'm wondering if you went thru the prerequisites
and built all the geoserver modules following instructions
at http://geoserver.org/display/GEOSDOC/2+Maven+Quickstart

Cheers
Andrea

You're right, I missed a step!

However, now the build is failing because one of the tests has failed. Here
is the file from the surefire-reports directory:

-------------------------------------------------------------------------------
Test set: org.vfny.geoserver.wms.responses.map.svg.SVGTest
-------------------------------------------------------------------------------
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 18.672 sec
<<< FAILURE!
testBatikSvgGenerator(org.vfny.geoserver.wms.responses.map.svg.SVGTest)
Time elapsed: 6.828 sec <<< ERROR!
java.net.ConnectException: Connection refused: connect
  at java.net.PlainSocketImpl.socketConnect(Native Method)
  at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
  at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
  at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
  at java.net.Socket.connect(Socket.java:519)
  at java.net.Socket.connect(Socket.java:469)
  at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
  at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
  at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
  at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
  at sun.net.www.http.HttpClient.New(HttpClient.java:306)
  at sun.net.www.http.HttpClient.New(HttpClient.java:323)
  at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:788)
  at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:729)
  at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:654)
  at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:977)
  at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown
Source)
  at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
  at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)
  at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
  at
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown
Source)
  at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
  at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
  at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
  at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
  at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
  at
org.geoserver.test.GeoServerAbstractTestSupport.dom(GeoServerAbstractTestSupport.java:533)
  at
org.geoserver.test.GeoServerAbstractTestSupport.getAsDOM(GeoServerAbstractTestSupport.java:450)
  at
org.vfny.geoserver.wms.responses.map.svg.SVGTest.testBatikSvgGenerator(SVGTest.java:28)
  at
org.vfny.geoserver.wms.responses.map.svg.SVGTest.testBatikSvgGenerator(SVGTest.java:28)
  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:597)
  at junit.framework.TestCase.runTest(TestCase.java:164)
  at junit.framework.TestCase.runBare(TestCase.java:130)
  at junit.framework.TestResult$1.protect(TestResult.java:106)
  at junit.framework.TestResult.runProtected(TestResult.java:124)
  at junit.framework.TestResult.run(TestResult.java:109)
  at junit.framework.TestCase.run(TestCase.java:120)
  at junit.framework.TestSuite.runTest(TestSuite.java:230)
  at junit.framework.TestSuite.run(TestSuite.java:225)
  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:597)
  at
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
  at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
  at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
  at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
  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:597)
  at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:308)
  at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:879)

aaime wrote:

Jon Britton ha scritto:

Hi,
I'm following the
http://geoserver.org/display/GEOSDOC/3+Eclipse+Quickstart
Eclipse Quickstart tutorial and when I try to run debug I get the
following
problem accessing 1.7.0-SNAPSHOT

Hum... "when I try to run debug"... yet the output you provided
is the output of a maven command line.
Given the output I'm wondering if you went thru the prerequisites
and built all the geoserver modules following instructions
at http://geoserver.org/display/GEOSDOC/2+Maven+Quickstart

Cheers
Andrea

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
View this message in context: http://www.nabble.com/Eclipse-Quickstart-problem-tp15530310p15560563.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Also, if I ignore this problem and try and build the web module I get the
same problem as I had originally - not being able to find 1.7.0-SNAPSHOT.

Any reason why this should be?

EDIT: I downloaded the file required manually. Will everything still work
despite the failed test?

EDIT: I've managed to run GeoServer. I've used the data_dir for my existing
GeoServer installation and it seemed to load fine. However, when I try and
display data I get:

java.lang.NoClassDefFoundError:
org/geotools/renderer/shape/ShapefileRenderer
        at
org.vfny.geoserver.wms.responses.DefaultRasterMapProducer.produceMap(
DefaultRasterMapProducer.java:254)
        at
org.vfny.geoserver.wms.responses.GetMapResponse.execute(GetMapRespons
e.java:428)
        at
org.geoserver.ows.adapters.ResponseAdapter.getMimeType(ResponseAdapte
r.java:48)
        at org.geoserver.ows.Dispatcher.response(Dispatcher.java:602)
        at
org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:19
2)
        at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(
AbstractController.java:139)
        at
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.ha
ndle(SimpleControllerHandlerAdapter.java:44)
        at
org.springframework.web.servlet.DispatcherServlet.doDispatch(Dispatch
erServlet.java:684)
        at
org.springframework.web.servlet.DispatcherServlet.doService(Dispatche
rServlet.java:625)
        at
org.springframework.web.servlet.FrameworkServlet.processRequest(Frame
workServlet.java:392)
        at
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServl
et.java:347)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:445
)
        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
Handler.java:1050)
        at
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCha
racterEncodingFilter.java:108)
        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
Handler.java:1041)
        at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(F
ilterChainProxy.java:264)
        at
org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(Filt
erSecurityInterceptor.java:107)
        at
org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(Fi
lterSecurityInterceptor.java:72)
        at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(F
ilterChainProxy.java:274)
        at
org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTra
nslationFilter.java:110)
        at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(F
ilterChainProxy.java:274)
        at
org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFil
ter(AnonymousProcessingFilter.java:125)
        at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(F
ilterChainProxy.java:274)
        at
org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicPr
ocessingFilter.java:178)
        at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(F
ilterChainProxy.java:274)
        at
org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilte
r(HttpSessionContextIntegrationFilter.java:229)
        at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(F
ilterChainProxy.java:274)
        at
org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.jav
a:148)
        at
org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.j
ava:98)
        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
Handler.java:1041)
        at
org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:69)
        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
Handler.java:1041)
        at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:41)
        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
Handler.java:1041)
        at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:3
54)
        at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:2
26)
        at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:6
27)
        at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHand
lerCollection.java:149)
        at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.
java:123)
        at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:1
41)
        at org.mortbay.jetty.Server.handle(Server.java:269)
        at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:43
0)
        at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpCo
nnection.java:687)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:492)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:199)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:339)
        at
org.mortbay.jetty.nio.HttpChannelEndPoint.run(HttpChannelEndPoint.jav
a:270)
        at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool
.java:475)
19 Feb 12:25:55 INFO [geoserver.filters] - Compressing output for mimetype:
appl
ication/vnd.ogc.se_xml; charset=UTF-8

Cheers,
Jon
--
View this message in context: http://www.nabble.com/Eclipse-Quickstart-problem-tp15530310p15560566.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Jon Britton ha scritto:

You're right, I missed a step!

However, now the build is failing because one of the tests has failed. Here
is the file from the surefire-reports directory:

Jon, it seems there is either a firewall disallowing the build to
access internet, or you're disconnected?

Cheers
Andrea

Hi Jon,

This is wierd, it appears this test is attempting to connect to a server online. Which it should not be.

If you just want to get a build up on going on trunk I suggest you disable testing for now with the -Dmaven.test.skip=true parameter.

-Justin

Jon Britton wrote:

You're right, I missed a step!

However, now the build is failing because one of the tests has failed. Here
is the file from the surefire-reports directory:

-------------------------------------------------------------------------------
Test set: org.vfny.geoserver.wms.responses.map.svg.SVGTest
-------------------------------------------------------------------------------
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 18.672 sec
<<< FAILURE!
testBatikSvgGenerator(org.vfny.geoserver.wms.responses.map.svg.SVGTest) Time elapsed: 6.828 sec <<< ERROR!
java.net.ConnectException: Connection refused: connect
  at java.net.PlainSocketImpl.socketConnect(Native Method)
  at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
  at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
  at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
  at java.net.Socket.connect(Socket.java:519)
  at java.net.Socket.connect(Socket.java:469)
  at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
  at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
  at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
  at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
  at sun.net.www.http.HttpClient.New(HttpClient.java:306)
  at sun.net.www.http.HttpClient.New(HttpClient.java:323)
  at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:788)
  at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:729)
  at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:654)
  at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:977)
  at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown
Source)
  at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
  at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)
  at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
  at
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown
Source)
  at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
  at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
  at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
  at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
  at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
  at
org.geoserver.test.GeoServerAbstractTestSupport.dom(GeoServerAbstractTestSupport.java:533)
  at
org.geoserver.test.GeoServerAbstractTestSupport.getAsDOM(GeoServerAbstractTestSupport.java:450)
  at
org.vfny.geoserver.wms.responses.map.svg.SVGTest.testBatikSvgGenerator(SVGTest.java:28)
  at
org.vfny.geoserver.wms.responses.map.svg.SVGTest.testBatikSvgGenerator(SVGTest.java:28)
  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:597)
  at junit.framework.TestCase.runTest(TestCase.java:164)
  at junit.framework.TestCase.runBare(TestCase.java:130)
  at junit.framework.TestResult$1.protect(TestResult.java:106)
  at junit.framework.TestResult.runProtected(TestResult.java:124)
  at junit.framework.TestResult.run(TestResult.java:109)
  at junit.framework.TestCase.run(TestCase.java:120)
  at junit.framework.TestSuite.runTest(TestSuite.java:230)
  at junit.framework.TestSuite.run(TestSuite.java:225)
  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:597)
  at
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
  at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
  at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
  at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
  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:597)
  at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:308)
  at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:879)

aaime wrote:

Jon Britton ha scritto:

Hi,
I'm following the http://geoserver.org/display/GEOSDOC/3+Eclipse+Quickstart
Eclipse Quickstart tutorial and when I try to run debug I get the
following
problem accessing 1.7.0-SNAPSHOT

Hum... "when I try to run debug"... yet the output you provided
is the output of a maven command line.
Given the output I'm wondering if you went thru the prerequisites
and built all the geoserver modules following instructions
at http://geoserver.org/display/GEOSDOC/2+Maven+Quickstart

Cheers
Andrea

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

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

Jon Britton wrote:

Also, if I ignore this problem and try and build the web module I get the
same problem as I had originally - not being able to find 1.7.0-SNAPSHOT.

Any reason why this should be?

Yeah, when a module fails due to tests not passing the build stops, so not all modules are built. See my last email about running with -Dmaven.test.skip=true.

Cheers,
Jon

Jon Britton wrote:

You're right, I missed a step!

However, now the build is failing because one of the tests has failed.
Here is the file from the surefire-reports directory:

-------------------------------------------------------------------------------
Test set: org.vfny.geoserver.wms.responses.map.svg.SVGTest
-------------------------------------------------------------------------------
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 18.672 sec
<<< FAILURE!
testBatikSvgGenerator(org.vfny.geoserver.wms.responses.map.svg.SVGTest) Time elapsed: 6.828 sec <<< ERROR!
java.net.ConnectException: Connection refused: connect
  at java.net.PlainSocketImpl.socketConnect(Native Method)
  at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
  at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
  at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
  at java.net.Socket.connect(Socket.java:519)
  at java.net.Socket.connect(Socket.java:469)
  at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
  at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
  at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
  at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
  at sun.net.www.http.HttpClient.New(HttpClient.java:306)
  at sun.net.www.http.HttpClient.New(HttpClient.java:323)
  at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:788)
  at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:729)
  at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:654)
  at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:977)
  at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown
Source)
  at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
  at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)
  at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown
Source)
  at
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown
Source)
  at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
  at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
  at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
  at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
  at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
  at
org.geoserver.test.GeoServerAbstractTestSupport.dom(GeoServerAbstractTestSupport.java:533)
  at
org.geoserver.test.GeoServerAbstractTestSupport.getAsDOM(GeoServerAbstractTestSupport.java:450)
  at
org.vfny.geoserver.wms.responses.map.svg.SVGTest.testBatikSvgGenerator(SVGTest.java:28)
  at
org.vfny.geoserver.wms.responses.map.svg.SVGTest.testBatikSvgGenerator(SVGTest.java:28)
  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:597)
  at junit.framework.TestCase.runTest(TestCase.java:164)
  at junit.framework.TestCase.runBare(TestCase.java:130)
  at junit.framework.TestResult$1.protect(TestResult.java:106)
  at junit.framework.TestResult.runProtected(TestResult.java:124)
  at junit.framework.TestResult.run(TestResult.java:109)
  at junit.framework.TestCase.run(TestCase.java:120)
  at junit.framework.TestSuite.runTest(TestSuite.java:230)
  at junit.framework.TestSuite.run(TestSuite.java:225)
  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:597)
  at
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
  at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
  at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
  at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
  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:597)
  at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:308)
  at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:879)

aaime wrote:

Jon Britton ha scritto:

Hi,
I'm following the http://geoserver.org/display/GEOSDOC/3+Eclipse+Quickstart
Eclipse Quickstart tutorial and when I try to run debug I get the
following
problem accessing 1.7.0-SNAPSHOT

Hum... "when I try to run debug"... yet the output you provided
is the output of a maven command line.
Given the output I'm wondering if you went thru the prerequisites
and built all the geoserver modules following instructions
at http://geoserver.org/display/GEOSDOC/2+Maven+Quickstart

Cheers
Andrea

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

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

That might be the case since I'm working in a government building (they can
be quite picky), although it has no problem downloading with maven or
subversion.

I've turned tests off and it works fine now though. Thanks for your help.

Jon

aaime wrote:

Jon Britton ha scritto:

You're right, I missed a step!

However, now the build is failing because one of the tests has failed.
Here
is the file from the surefire-reports directory:

Jon, it seems there is either a firewall disallowing the build to
access internet, or you're disconnected?

Cheers
Andrea

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
View this message in context: http://www.nabble.com/Eclipse-Quickstart-problem-tp15530310p15584982.html
Sent from the GeoServer - User mailing list archive at Nabble.com.