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

Maven: Circular dependency found
Build Error while building aperturejs
Converting Maven resources to gradle resources
Maven plugin MOJO API in term of parameters
How to download snapshots from Nexus using Gradle build?
Could not find or load main class mvn when launching jenkins job
Excluding JAR Files From the EAR using maven
Error creating new Maven project in eclipse
IBM Websphere 8.5.5 unable to detect Spring when used java config
How to get rid of maven plugin configuration error in IntelliJ Idea
How to resolve error Unknown synapse configuration tag in wso2 developer studio
Is Maven ready for JDK9?
Maven Web Project + Tomcat + jRebel
How to use include tag in Maven dependency plugin
jxbrowser-cross-platform dependency fails to install
Maven dependencies

Categories

HOME
hive
netbeans
amazon-ec2
openstack
azure-data-factory
fluentd
smarty
json.net
hp-exstream
session
platform-builder
read-eval-print-loop
youtube-dl
razor
win32gui
blueprintjs
ojdbc
windows-phone-7
event-handling
fallback
aurigma
google-cloud-speech
lucene.net
plunker
custom-wordpress-pages
immutable.js
one-hot-encoding
ehcache
google-search-api
chromium-embedded
lcd
icloud-api
facebook-apps
.net-4.0
xquery-3.0
google-sites-2016
stringtemplate
textmate
io-redirection
simplexml
greenrobot-eventbus
squib
vao
taffy
dotcover
chain-builder
revapi
tropo
recursive-datastructures
google-perftools
mako
gcsfuse
redundancy
vtigercrm
eventkit
word-vba-mac
angular-cache
savon
persist
blackberry-10
make-install
photobucket
freelancer.com-api
separator
eclipse-clp
thredds
python-3.2
jmeter-maven-plugin
libressl
jqgrid-formatter
web-controls
sonarqube5.1.2
pretty-print
notify
streambase
dia
pick
tt-news
client-side-templating
issuu
p4java
mysql-error-1062
bundles
flexmojos
jsctypes
rabl
simba
unc
funscript
labwindows
tridion-worldserver
nsmanagedobject
assembly-loading
window-management
subgurim-maps
visitor-statistic
dentrix
gin
ext3
backcolor
swing-app-framework
avatar
sector

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