This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Only a type can be imported. mypackage.StringManipulation resolves to a package  RSS feed

 
Eswar Nec
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I create simple jsp page under webapps\testjsp\simple.jsp

and then create javaclass like
webapps\testjsp\WEN-INF\classes\testpackage\TestFile.class
webapps\testjsp\WEN-INF\classes\testpackage\TestFile.java

when i run the code, i am getting the follwoing error





Help me.
Thanks in advance.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66203
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
WEN-INF? It's WEB-INF.

And why are you still putting Java scriptlets in JSPs? Bad, bad practice.
 
Eswar Nec
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Bear Bibeault.

Thats my carless mistake during my folder creation. Just now i saw the folder name.

Ok. after change the name, its worked for me
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!