Hi Jody,
I've followed these instructions, but the m2e plugin of the latest Eclipse doesn't work correctly with the project files that are generated by the Maven eclipse plugin. I suppose it is currently not possible to use this plugin. Unfortunately, because m2e can speed up development a log.
One final question: in the developer guide I can not find what the "release" profile does. Could you shortly comment on that (or add it to the developer guide)?
Jan
On 19-6-2014 14:54, Jody Garnett wrote:
We have instructions on setting up for eclipse in the developers guide, as far as I know nobody has put time into setting up the project to work with the m2e plugin. We tend to run "mvn eclipse:eclipse -Prelease" on the command line and go from there.
http://docs.geoserver.org/latest/en/developer/maven-guide/index.html#eclipse
Jody Garnett
On Thu, Jun 19, 2014 at 10:41 PM, Jan Boonen <jan.boonen@anonymised.com <mailto:jan.boonen@anonymised.com>> wrote:
Hi all,
I'm trying to debug GeoServer in Eclipse using the Web Tools Platform
(wtp) and Maven (m2e) plugins. I have succesfully deployed the
gs-web-app project, but when starting the server, I get the following
error:
19 jun 14:32:28 ERROR [context.ContextLoader] - Context initialization
failed
org.springframework.beans.factory.BeanCreationException: Error
creating
bean with name 'GWCGeoServerRESTConfigurationProvider' defined in URL
[jar:file:/D:/workspaces/geo-oss/tomcat7/wtpwebapps/gs-web-app/WEB-INF/lib/gs-gwc-2.6-SNAPSHOT.jar!/geowebcache-geoserver-context.xml]:
Cannot resolve reference to bean 'catalog' while setting constructor
argument; nested exception is
org.springframework.beans.factory.NoSuchBeanDefinitionException:
No bean
named 'catalog' is defined
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:329)
...
Caused by:
org.springframework.beans.factory.NoSuchBeanDefinitionException:
No bean
named 'catalog' is defined
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:549)
If I build the project on the command-line and deploy the
resulting WAR
then GeoServer starts without any problems. I'm using Oracle JDK7
(64-bit) on Windows7 using Spring Tool Suite 3.5.1 and Maven 3.2.1.
Any help or direction is much appreciated!
Cheers,
Jan
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk
Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
<mailto:Geoserver-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
--
----------------------------------------
Geodan
Buitenhaven 27-A
5211 TP 's-Hertogenbosch (NL)
T +31 (0)73 - 692 5151
M +31 (0)6 - 2395 1191
E jan.boonen@anonymised.com
www.geodan.nl | www.geodan.nl/disclaimer
----------------------------------------