• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

The method sendRedirect(String) from the type HttpServletResponse refers to the missing type String

 
majid nakit
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have this index.jsp :



I got this error :

The method sendRedirect(String) from the type HttpServletResponse refers to the missing type String

Thanks,
 
beginner in java
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One of the possible reasons is missing - jaxb-api-2.2.jar download it and place in lib folder, run the application again, http://mirrors.ibiblio.org/maven2/javax/xml/bind/jaxb-api/2.2/jaxb-api-2.2.jar just ignore still it shows any compile time error, it worked for me.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic