Problem with SpringApplication project

Hi,

I have a small problem with this Maven project which is driving me nuts:

I am running the project in a WST server in eclipse. I have tried Tomcat 6 and Tomcat 7.
To debug the application on the server I first have to call ‘maven install’.
To start the debug session I call ‘Debug as’ - ‘Debug on Server’. Everything works fine.
When I change code (i change string literals only) and save the source file I get “Hot code replace failed” (Hierarchy change not implemented).
When I restart the Tomcat server then Spring does not start up correctly. it seems that SpringApplicationServlet is not called.

Any ideas?

Thanks,
Roland

The problem appears only for classes with @Configurable(preConstruction = true)

Hi,

Probably you have the same problem as I had:


Here is the link

Regards

Mariusz

Thanks, I have tried. Now I get lots of these errors when I access the first bean:

when weaving classes
when weaving
[Xlint:cantFindTypeAffectingJPMatch]

[WebappClassLoader@a2a38]
error can’t determine annotations of missing type com.google.gwt.user.client.ui.ComplexPanel
when weaving type com.vaadin.terminal.gwt.client.ui.layout.CellBasedLayout
when weaving classes
when weaving
[Xlint:cantFindType]

[WebappClassLoader@a2a38]
warning can’t find type com.google.gwt.user.client.ui.ComplexPanel whilst determining signatures of call or execution join point for void com.vaadin.terminal.gwt.client.ui.layout.CellBasedLayout.setStyleName(java.lang.String), this may cause a pointcut to fail to match at this join point
when weaving type com.vaadin.terminal.gwt.client.ui.layout.CellBasedLayout

Also, I have no clue what I am really doing here :wink: