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

Shading asynhttpclient in java
Override mvn settings.xml in your pom.xml. Define only project specific repos
maven: set boolean property based on string property ${project.version}
Intellij IDEA Forge setup error
Maven SCM plugin
Cannot run test suite on 2 different browsers using data provider
How can I populate what is indexed under the tags metadata field in Maven central?
TransactionFailureException in neo4j
How to concatenate Jenkins parameter ${POM_VERSION} for Maven?
Is it feasible to run multiple instances of a single Jenkins job?
Unable to Run Spring Boot project on IDEA after replace Tomcat instead of Jetty
The widgetset in use does not seem to be built for the Vaadin version in use
Maven surefire java 8 with EasyMock yields: java.lang.NoClassDefFoundError: Could not initialize class com.sun.proxy.$Proxy33
No schemas have been found | XJC
Primfaces Paginator of data table is not working while clicking paglinks
Maven SCM plugin, how set failOnError = false

Categories

HOME
ms-access
webpack
omnet++
image-processing
isabelle
gremlin
mediawiki
drivers
plone
smarty
objectgears
google-oauth
elm
google-project-tango
upload
synchronization
here-api
ibm-odm
hapi
netflix
iolanguage
pc
plunker
web-sql
bootstrap-duallistbox
intel-pin
phpfox
web-api-testing
social-media
large-file-upload
libuv
objectanimator
sql-server-2012-express
fabric8
media-queries
iframe-resizer
subset-sum
openoffice.org
geopositioning
wallpaper
mpmediaquery
html5-fullscreen
wpf-controls
git-merge
disassembling
hot-module-replacement
hockeyapp
occlusion
service-discovery
jna
webdriver-manager
eclipse-scout
turbogears
youcompleteme
logparser
blogengine.net
dropbox-php
togetherjs
tropo
elgg
r-forge
spring-mongodb
redundancy
vtigercrm
synchronous
yt-project
parallel-data-warehouse
azure-sdk
thrust
storekit
lttng
skype4py
dlna
wapiti
kendonumerictextbox
collapse
cyclomatic-complexity
django-unittest
wordml
varargs
0xdbe
sankey-diagram
key-management
graph-api-explorer
directoryservices
python-green
formatjs
nstableviewcell
gadt
tt-news
gui-test-framework
relocation
fpml
client-side-templating
java-metro-framework
gulp-less
zend-route
castle
elliptic-curve
yorick
valueconverter
ember-charts
cdc
gridfs
dir
soundtouch
opcache
dataadapter
android-screen-support
lcs
type-equivalence
dmoz
unc
runas
word-processor
objective-c-2.0
table-footer
winbugs14
mysql-error-1005
nhibernate.search
preference
dbal
castle-monorail
firefox4
kdbg
javap
genealogy

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