aspose file tools*
The moose likes Spring and the fly likes error 404 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "error 404 " Watch "error 404 " New topic
Author

error 404

fabian verbeek
Ranch Hand

Joined: Oct 20, 2012
Posts: 52
Hi,

I'm really disapointed in my learning.

I changed nothing!
An hour ago, everything worked and after restart the computer, i receive the error with this trace:



Do you have an idea to help me

thanks
fabian verbeek
Ranch Hand

Joined: Oct 20, 2012
Posts: 52
I checked in the build path and spring-web-3.2.0 are inside
I did a clean project but it still doesn't work
Bill Gorder
Bartender

Joined: Mar 07, 2010
Posts: 1672
    
    7

Are you using TC server? Go to the folder your web application is deployed in and clean it out. Rebuild it and try again. Sometimes right clicking the server and selecting clean, followed by publish is sufficient. Otherwise go into that directory and manually clean it.

The path will probably look something like this, where the x's represent version numbers and can vary.



[How To Ask Questions][Read before you PM me]
fabian verbeek
Ranch Hand

Joined: Oct 20, 2012
Posts: 52
I tried your solution in cleaning the server and then publish but now when i start the application i receive a blank page.
after some seconds, i receive the alert: Page load failed with error: La requête a expiré.

I receive this message in the trace:
Exception in thread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" java.lang.OutOfMemoryError: PermGen space

thanks for your help because i'm from Php and tomcat seems to suck
Bill Gorder
Bartender

Joined: Mar 07, 2010
Posts: 1672
    
    7

Well you apparently don't have enough memory allocated to start your application. Double click the server in the servers tab and click the 'Open Launch Configuration' link. You can adjust the memory allocated under VM arguments look for the part that looks like this



and adjust the MaxPermSize.

You will find that of the newest STS version (3.1.0-RELEASE) has 2 download available. One is based on Eclipse JUNO 4.2.1 and another based on Eclipse JUNO 3.8.1. Don't use the one based on JUNO 4.2.1 there are some major performance issues with that version of Eclipse.

fabian verbeek
Ranch Hand

Joined: Oct 20, 2012
Posts: 52
thanks
i make a clean tomcat work directory and it works

really incredible as comportment
 
jQuery in Action, 2nd edition
 
subject: error 404