Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to propagate .java file change to .class under eclipse, tomcat & stripes
    primarykey
    data
    text
    <p>i'm new to java and i got some problems. i'm developping a web application using the framework stripes on tomcat 6.0. I'm working with eclipse EE on windows. i successfully managed to get the stripes example application (called Bugzooky) up and running on my tomcat server. I imported the .war file and stripes libs in Eclipse. <a href="http://downloads.sourceforge.net/project/stripes/stripes/Stripes%201.5.1/stripes-1.5.1.zip?use_mirror=sunet" rel="nofollow noreferrer">Here is the stripes archive containing the examples and libs</a></p> <hr> <p>But now i'm trying to change the example source files to learn how does it work. but whatever the modification made to the source files "WebContent/WEB-INF/src/*.java", nothing change! even after restarting the server. i noticed that the classes are compiled into .class files in the "ImportedClasses" folder, and tomcat always use these files, they are never updated, and if i removed one of them, the application just don't start. it look like my source files don't exists!</p> <hr> <p>I also tried to build my webapp from scratch, but when i tried to use the features used in the example files (like SecurityFilter.java):</p> <pre><code>import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import ... </code></pre> <p>It ends up with plenty of:</p> <pre><code>the import javax.servlet.Filter cannot be resolved </code></pre> <p>I checked the Librairies and it look like i'm using exactly the same as the example.</p> <hr> <p>It's probably something i didn't understood about java but i googled 100 times yesterday, and i can't find the solution (i probably didn't search the right place because i don't really understand my problem).</p> <p>I hope you'll be able to help me.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload