3 things
- Make sure the class file is under WEBINF/classes/user
- Make sure there is a public default constructor without arguments
- You can also use type= instead of class= if the bean already exists in the scope
More Related Contents:
- Java error: Only a type can be imported. XYZ resolves to a package
- getOutputStream() has already been called for this response
- How to set request encoding in Tomcat?
- Unable to compile class for JSP: The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from required .class files
- Sharing session data between contexts in Tomcat
- _jspService is exceeding the 65535 bytes limit
- JSP – What is wrong with scriptlets, and what to use instead [duplicate]
- JSP generating Excel spreadsheet (XLS) to download
- How to change Java version used by TOMCAT?
- Load properties file in Servlet/JSP [duplicate]
- IntelliJ and JSP/JSTL cannot resolve taglib for JSTL in tomcat7 [duplicate]
- EL expressions won’t executed in Tomcat 5.5, but working in tomcat 6.0.20
- Spring Boot Externalizing properties not working
- Using .html files as JSPs
- Can I serve JSPs from inside a JAR in lib, or is there a workaround?
- Configure Tomcat to use properties file to load DB connection information
- Sending email from a form
- How to retrieve and display images from a database in a JSP page?
- To prevent a memory leak, the JDBC Driver has been forcibly unregistered
- What’s the difference between including files with JSP include directive, JSP include action and using JSP Tag Files?
- HttpRequest maximum allowable size in tomcat?
- Embedded tomcat 7 servlet 3.0 annotations not working
- Is there a way to run a method/class only on Tomcat/Wildfly/Glassfish startup?
- Get anchor from URI
- Tomcat in Idea. war exploded: Server is not connected. Deploy is not available
- Besides EAR and EJB, what do I get from a Java EE app server that I don’t get in a servlet container like Tomcat?
- How do I increase memory on Tomcat 7 when running as a Windows Service?
- How can I specify the local address on a java.net.URLConnection?
- How do I send an e-mail in Java?
- How to use JTA support in Tomcat 6 for Hibernate?