Encodable not found ?
-
Hi,
I'm trying to use bacnet4j with JSF.I build an application in .java which turn on/off a lamp, but if I try to call the same method from a JSF page, gives me :
type Exception report message descriptionThe server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: com/serotonin/bacnet4j/type/Encodable root cause java.lang.NoClassDefFoundError: com/serotonin/bacnet4j/type/Encodable root cause java.lang.ClassNotFoundException: com.serotonin.bacnet4j.type.Encodable
But I'm pretty sure that the class is there, because if not my java application don't work, right ?
Any idea why this is happening ?
-
You'll need to check the class path of your jsf context, which is no doubt different than that of your application.
-
@mlohbihler said:
You'll need to check the class path of your jsf context, which is no doubt different than that of your application.
The problem was that I do not put the .jars in the WEB-INF/lib folder.
Thanks mlohbihler.
By the way, you make a great job doing bacnet4j, thanks dude.
-
Thanks very much Valter.