• Recent
    • Tags
    • Popular
    • Register
    • Login

    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 Mango 5 Documentation Website

    Encodable not found ?

    BACnet4J general discussion
    2
    5
    2.7k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      Valter Henrique
      last edited by

      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 ?

      1 Reply Last reply Reply Quote 0
      • M
        mlohbihler
        last edited by

        You'll need to check the class path of your jsf context, which is no doubt different than that of your application.

        Best regards,
        Matthew

        1 Reply Last reply Reply Quote 0
        • V
          Valter Henrique
          last edited by

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

          1 Reply Last reply Reply Quote 0
          • M
            mlohbihler
            last edited by

            Thanks very much Valter.

            Best regards,
            Matthew

            1 Reply Last reply Reply Quote 0
            • First post
              Last post