Stack Exchange
log in
users (12)
rooms (18)
faq
Bozho
general
recent
conversations
Discussion between Jigar Joshi and Ra
…
Imported from a comment discussion on
stackoverflow.com/questi...
Bozho
Jul 20, 2011 19:06
try to copy-paste it from your target directory and restart the ap
Bozho
Jul 20, 2011 19:06
this certainly means that the classloader isn't getting your class
Bozho
Jul 20, 2011 18:16
it may even be a jsp
Bozho
Jul 20, 2011 18:16
just write some code that tries to instantiate your controller
Bozho
Jul 20, 2011 18:15
or, actually, any servlet
Bozho
Jul 20, 2011 18:15
did you try the thing with the filter?
Bozho
Jul 20, 2011 18:15
a, yes, that will work
Bozho
Jul 20, 2011 18:04
not exactly. spring will pick the one that conforms to the default naming, and will ignore the rest
Bozho
Jul 20, 2011 18:02
just a simple Web Filter
Bozho
Jul 20, 2011 18:02
the filter should not be spring-related
Bozho
Jul 20, 2011 18:01
because it has a default name - {serlvetName}-servlet.xml
Bozho
Jul 20, 2011 17:59
with new FileUploadController
Bozho
Jul 20, 2011 17:59
Try the following. comment-out the spring dispatcher servlet, and make your own filter, where you instantiate the controller
Bozho
Jul 20, 2011 17:57
I guess you tried restarting / redeploying ?
Bozho
Jul 20, 2011 17:55
note that the classpath in eclipse isn't directly related to the runtime classpath
Bozho
Jul 20, 2011 17:55
but do you have it in your tomcat
Bozho
Jul 20, 2011 17:55
so, you have the .class file in your target
Bozho
Jul 20, 2011 17:50
I will in a few minutes
Bozho
Jul 20, 2011 17:49
hello