Суржин, On 10/27/15 7:45 AM, Суржин Константин Вадимович wrote: > Hi. > win XP. > Apache Tomcat 8.0.15 > jdk8 > animal.jsp (page code below) > Animal.java(page code below) > > line 10 -> animalBean_0 = new org.animal.Animal(); > and all right. > > line 16 -> animalBean_1 = (Animal) > java.beans.Beans.instantiate(this.getClass().getClassLoader(), "Animal"); > but I need a line 1 in animal.isp and I get differing code ( not new > org.animal.Animal();) > and ☹ > HTTP Status 500 - /animal.jsp (line: 16, column: 8) The value for the useBean > class attribute Animal is invalid. > and ☹ > org.apache.jasper.JasperException: java.lang.ClassNotFoundException: > org.apache.jsp.animal_jsp > > Maybe something is missing or incorrect on this page?? > http://wiki.apache.org/tomcat/FAQ/Class_Not_Found
You are asking for a bean with the class name "Animal", and the JSP compiler and/or runtime can't find it. I'm guessing you meant to use "org.animal.Animal" here? Or do you have a class, Animal, in the default package? -chris --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org