Hi, David. For usual you can use java.lang.Long as a bean property. So I assume that you have a compilation or a classpath problem. Make sure that you compiled both the bean as well as your bean-using-class for the java.lang.Long property, and make sure that Tomcat won't find any such class that still might contain the old code. Then it should work.
Hiran > -----Urspr�ngliche Nachricht----- > Von: David Butterworth [mailto:[EMAIL PROTECTED]] > Gesendet: Donnerstag, 27. Juni 2002 15:22 > An: 'Tomcat Users List' > Betreff: Bean fields > > > Hi, > > I'm having a problem with a bean I wrote. > > In tomcat I get a "java.lang.NoSuchMethodError: > net.economicoutlook.cnwebsite.DocumentBean.getDocTypeId()J" > when a jsp file tries to access the "docTypeId" field in my bean. > > docTypeId is of type java.lang.Long. > > I have noted that if docTypeId is a primative ie "long" I > dont get this error. > > Do you have to use a primative for these fields in a bean ? > > Thanks > David Butterworth > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
