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

Why my maven project does not pick-up the jar from nexus
Build issues with Hadoop on windows
Maven failsafe plugin integration-test passes but verify fails with error
Maven repository usage to download artifacts
Cannot perform 'mvn camel:run' on Camel Example Project
Proper execution phase for maven-gpg-plugin?
Is Maven artifact signing a legitimate use of GnuPG comment in user ID?
jar dependency in maven pom.xml to avoid from specific repository?
mvn fails to find HTMLUnitDriver dependency during project install
Host private Maven repository using generic WebDAV
Maven - variable substitution in repositories url not working
Convert to maven, fxml don't working
How to add a new module to Spark source and make it work in spark-shell?
Jenkins Tomcat deploy : Context is defined in server.xml and may not be undeployed
Jenkins can't check parameters testng
Maven goals doing cobertura analysis and install

Categories

HOME
maven
vbscript
webpack
netbeans
nullpointerexception
bpmn
electronics
cross-browser
pivotal-cloud-foundry
autotools
adobe-analytics
u-sql
correlation
timeout
circular-dependency
spring-tool-suite
circuit
iron-router
django-simple-history
progressive-web-apps
sms-gateway
jqwidget
textfield
grails3
opencover
physics-engine
orleans
opennlp
spark-jobserver
facet
django-storage
bootstrap-material-design
jspm
primitive
file-rename
microsoft-chart-controls
binary-data
rotational-matrices
wallpaper
fusionpbx
space-complexity
multilingual
neuroscience
event-driven
starteam
az-application-insights
sql-server-agent
no-www
.net-4.6.2
smartcontracts
jquery-validate
ionicons
drupal-6
crypt
gnome-shell-extensions
angular-cache
httplistener
fputcsv
iad
msys
lib.web.mvc
eclipse-clp
wireshark-dissector
dukescript
sailfish-os
cisco-ios
csquery
gwidgets
gadt
tt-news
asp.net-dynamic-data
android-nested-fragment
googlemock
xojo
oracle-warehouse-builder
app42
fmod
industrial
xsockets.net
access-rights
gridfs
spring-io
jplaton
cos
hungarian-algorithm
comaddin
trusted
errai
qt-jambi
psi
horizontal-accordion
invite
mysql-error-1005
remember-me
w3wp.exe
bespin
perfect-hash
meego
javap
mtj

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