Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.lang.ClassNotFoundException: Controller.tradingController

 
krushnakant desai
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi i am developing java web application in spring 2.5 netbeans IDE
i am getting following errors and could not resolve it.
please help me.


 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please don't resurrect an old thread. Your question is your own question and should be in its own thread. So I am moving this out of this thread to its own and closing this older thread.

Thanks

Mark
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I changed your topic to your problem.

So it can't find a class called Controller.tradingController. Is it in your classpath. Also it looks like an inner class. Why are you using an inner class in a Controller class? Doesn't seem like a good idea from a maintainable code perspective.

Mark
 
krushnakant desai
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi Mark thanks for you reply

actully tradingController is inside the Package 'Controller' its not inner class.
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have a package that starts with a capital letter? And a class that starts with a lower case letter. I think you got it backwards and that is also why you would think Controller was a class.

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic