javax.jms does not exist - compiling activemq examples
I'm trying to compile the examples that come with activemq
on compiling thru netbeans it has some referencing problems saying javax.jms does not exist.
I've tried the j2ee.jar, openjms, sun jms but they all give the same error.
its also complaining about org.apache.activemq.util does not exist but I'm referencing activemq-all-5.1.0.jar.
note: all other references to external jars are working fine
Edit: the jars needed to be referenced are
activemq-core-5.1.0.jar geronimo-jms_1.1_spec-1.1.1.jar commons-logging-1.1.jar geronimo-j2ee-management_1.0_spec-1.0.jar
they're in the activemq binary dist in the lib folder
Asked by: Andrew487 | Posted: 23-01-2022
In the lib directory are the jars you'll need to compile things. The JMS API is inside lib/geronimo-jms-1.1.jar.
How are you trying to build them BTW? You using the Ant build that is there? See the documentation on building them.Answered by: Sophia672 | Posted: 24-02-2022
Still can't find your answer? Check out these amazing Java communities for help...
Java Reddit Community | Java Help Reddit Community | Dev.to Java Community | Java Discord | Java Programmers (Facebook) | Java developers (Facebook)