maven


getting java.lang.ClassNotFoundException: com.ibm.mq.jms.MQQueue when excluding the com.ibm.mq:* from shade configuration


In my jar, I create the uber jar using the shade plugin, however I need to exclude the com.ibm.mq dependecies. When I do so I get the error - java.lang.ClassNotFoundException: com.ibm.mq.jms.MQQueue.
This is possibly because I don't provide any external classpath reference when running the jar, is there any way to provide the dependency when executing the jar.
I am currently using the below command to run the ja
java -jar /san/app/tools/salesAdapters/OrderAdapters/order-adapter.jar

Related Links

Best practice for using Maven or Gradle without internet access
the warnings turned into errors when an other error occurs
Maven artefact licensing
Viewing the response body for a failed mvn deploy-file command?
Maven generated-sources not compiled
Mule Studio fails to save Maven settings
Can I force Fuse Fabric Maven Proxy to push an updated version of the same jar to containers
Can I use a Maven plugin (enunciate) in Gradle?
Add a new line between dependencies via google sort pom plugin
Build \ deploy - complex scenario and application
Maven not detecting existing file
mvn dependency:tree with broken transitive dependencies
Gathering javadocs from multimodule maven project
Why is Maven's documentation packages in a JAR instead of a ZIP file?
Maven command gives peer not authenticated error few times
exclude maven module with intergration tests from test phase

Categories

HOME
winforms
cloud
oracle11g
reserved
hashmap
onedrive
android-4.4-kitkat
youtube-dl
tizen-web-app
ssl-client-authentication
spring-kafka
nstableview
resize
decomposition
percona
vaadin7
django-simple-history
worldwind
opentracing
highlight.js
google-cloud-speech
orleans
sylius
bootstrap-material-design
tooltipster
minitab
elasticsearch-ruby
libuv
airconsole
phpfreechat
y86
host
io-redirection
devextreme
dartium
gulp-sourcemaps
ibpy
spring-security-kerberos
convertapi
angular2-meteor
auto-update
menuitem
flickr-api
outlook-2013
strptime
dandelion
google-perftools
sqldf
specrun
parallel-data-warehouse
fputcsv
connect-by
holder.js
hill-climbing
whois
two-factor-authentication
browser-link
kendonumerictextbox
prerequisites
tmuxinator
wordml
dukescript
riak-cs
splash
umbraco6
jscript.net
phalanger
mesa
fluentautomation
ember-charts
typo3-neos
mcts
gridfs
web2py-modules
bulkloader
padarn
specification-pattern
onsubmit
gnu-prolog
hirefire
xmemcached
rfc1123
imac
routedevent
nhibernate.search
mirah
zend-tool
iweb
uiq3

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App