Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website

  • 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.