I'm only getting started with geonetwork and it took me a couple of days to
set everything up in Eclipse. I think others have had problems with this as
I had to make a small change to Geonetwork.java line 168 to ignore svn
folders when loading the schemas:
public Object start(Element config, ServiceContext context) throws Exception
for(int i=0; i<saSchemas.length; i++)
if (!saSchemas[i].equals("CVS") && !saSchemas[i].startsWith(".") &&
I added the last condition to the if statement. This is to ignore the _svn
directory inside web\geonetwork\xml\schemas.
I can now run geonetwork from eclipse and log in successfully.
However I still get an annoying exception when starting up:
56146 [main] ERROR org.springframework.web.context.ContextLoader - Context
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'geoServer2' defined in URL
Initialization of bean failed; nested exception is
I'm not sure what actual problems this causes but it bugs me. Anyone knows
why I'm getting this?
In a more user-related question I am trying to add a new metadata to another
installed instance of geonetwork (I mean I created this instance using the
After creating the new metadata form the vector template I get an error when
trying to save it straight away:
IllegalStateException : Element not found at ref =
Obviously I haven't entered all the necessary information to create the
metadata but it is hard to know which bit of info this particular error is
All I want to do is upload a shapefile and have a look at some maps. What is
the easiest way to do this?
Thanks for any help
> -----Original Message-----
> From: Lionel Orellana [mailto:lionelve@...]
> Sent: Tuesday, 9 March 2010 1:33 PM
> Subject: [GeoNetwork-devel] Eclipse and SVN + user error
> I'm only getting started with geonetwork and it took me a
> couple of days to set everything up in Eclipse. I think
> others have had problems with this as well.
Yeah, it's tough. But it's nice, when everything works in the end. :)
> However I still get an annoying exception when starting up:
> 56146 [main] ERROR
> org.springframework.web.context.ContextLoader - Context
> initialization failed
> Error creating bean with name 'geoServer2' defined in URL
ain-1.7.3.jar!/applicationContext.xml]: Initialization of bean > failed; nested exception is java.lang.NoSuchFieldError: TRACE
> I'm not sure what actual problems this causes but it bugs me.
> Anyone knows why I'm getting this?
D'oh. I had the same problem and already drafted an email with the solution, but was too busy to finish it.
As far as I remember this helped me:
Try to check your log4j JARs in the Java Build Path.