Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private Context initContext(){
- Context initContext = null;
- try{
- initContext = new InitialContext();
- }catch(NamingException nex)
- {
- System.err.println("Impossível de receber contexto: " + nex);
- System.exit(-1);
- }
- return initContext;
- }
- javax.naming.NoInitialContextException: Cannot instantiate class: org.apache.activemq.jndi.ActiveMQInitialContextFactory [Root exception is java.lang.ClassNotFoundException: org.apache.activemq.jndi.ActiveMQInitialContextFactory]
- C:UsersGabrielAppDataLocalNetBeansCache8.2executor-snippetsrun.xml:53: Java returned: -1
Add Comment
Please, Sign In to add comment