I'm trying to use MQ bindings when I get the error:
javax.naming.NoInitialContextException: Unable to find the InitialContextFactory com.sun.jndi.fscontext.RefFSContextFactory
Check this out:
http://www-01.ibm.com/support/docview.wss?uid=swg21552830).
Sunday, July 17, 2016
Saturday, July 2, 2016
Using maven to include dependency jars in export
Here's a good example Maven Assembly Plugin
http://www.mkyong.com/maven/create-a-fat-jar-file-maven-assembly-plugin/
http://www.mkyong.com/maven/create-a-fat-jar-file-maven-assembly-plugin/
Setting up maven in eclipse
Here's what you do to open a maven project in eclipse:
1. Install maven (m2e) plugin:
http://stackoverflow.com/questions/8620127/maven-in-eclipse-step-by-step-installation
http://o7planning.org/web/fe/default/en/document/5189/install-maven-into-eclipse
http://www.vogella.com/tutorials/EclipseMaven/article.html
2. In eclipse, choose File-> Import -> Maven -> Existing Maven Projects, and then Enter
3. Root Directory -> Browse and choose the directory where the pom.xml file exists
4. Finish
And you are done! (build the project as the next step via Run As -> Maven Build)
1. Install maven (m2e) plugin:
http://stackoverflow.com/questions/8620127/maven-in-eclipse-step-by-step-installation
http://o7planning.org/web/fe/default/en/document/5189/install-maven-into-eclipse
http://www.vogella.com/tutorials/EclipseMaven/article.html
2. In eclipse, choose File-> Import -> Maven -> Existing Maven Projects, and then Enter
3. Root Directory -> Browse and choose the directory where the pom.xml file exists
4. Finish
And you are done! (build the project as the next step via Run As -> Maven Build)
Why do I get “must override a superclass method” with @Override?
Do note, if you get this error, most likely your compiler compliance is not set to at least 1.6.
If using eclipse, check the project's properties and verify that Java Compiler -> Compiler compliance level is set to 1.6.
If using eclipse, check the project's properties and verify that Java Compiler -> Compiler compliance level is set to 1.6.
Subscribe to:
Posts (Atom)