File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

org.apache.jasper.JasperException: Cannot find any information on property 'EmpID' in a bean of type

 
victor chiong
Ranch Hand
Posts: 73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,

I'm stuck.. been 3 hours and i could not run this... damn... so noob. I could not understand why getproperty could not get the value of EmpID... (Cannot find any information on property 'EmpID' in a bean of type)






 
James Boswell
Bartender
Posts: 1051
5
Chrome Eclipse IDE Hibernate
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm going to take a guess at this one:

Change your EmpID to empID in Employee class:
I think it is not working because using a property name EmpID does not follow Java conventions (should start in lowercase).
 
victor chiong
Ranch Hand
Posts: 73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I change it to small caps no longer an error but the empID value is null.....

weird...


regards,
Vic
 
victor chiong
Ranch Hand
Posts: 73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is now okay dude.. Super thanks :)

it is null because the parameter i set is string employee not String empID
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic