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

DriverManager.getConnection never been executen in my maven project
Maven projects - how to read a property that is defined in the pom file of a project that is added as a dependency
Travis CI: Maven fails to get Kotlin 1.1.1 dependency on Linux
How to tell versions-maven plugin to act on non-child modules?
Can soapui maven plugin execute multiple projects parallel?
log4j conflict with Apache Storm 1.0.1 and Elasticsearch 5.3.1
Spring Boot batch App - Maven error
Maven deploy to Nexus failed with 502 code when using hostname instead of ip address
Inclusion of scopes when using the Maven scope “import”
Why do i got the error in spark “kafka.cluster.BrokerEnd Point cannot be cast to kafka.cluster.Broker”
Drools Swam - Maven Build Issue in Cent OS Server (Abroad)
want to run exec-maven-plugin when spring-boot running
excludesList parameter usage in versions:update-properties
Spring boot - JPA with QueryDSL custom query implementation - entity not mapped error
Idea's cmd and git bash don't see mvn command
jenkins - version placeholder from previous build POM

Categories

HOME
ionic-framework
testng
pypi
tizen
include
stock
office365api
xmpp
programming-languages
spring-cloud-stream
yarn
jpeg
sql-server-2016
mvvmcross
wamp
django-imagekit
mouse
basic
dacpac
izpack
modx-revolution
mapserver
carthage
finite-automata
evopdf
google-cloud-speech
lldb
kudan
crosstab
phpfox
nhapi
opentype
windows-server-2000
gsoap
nouislider
google-rich-snippets
.net-4.0
data-manipulation
caret
amazon-kinesis-kpl
restlet
abstract-class
webix-treetable
graphenedb
preconditions
unoconv
hp-ux
reportingservices-2005
nxlog
long-polling
errordocument
multipeer-connectivity
paxos
dropbox-php
gabor-filter
yii2-extension
colorama
epson
blacklist
crosswalk-runtime
smart-table
objective-c-swift-bridge
passport-google-oauth
asp.net-4.5
pcf
etsy
nsviewcontroller
react-native-listview
rhino-servicebus
itextpdf
netmq
maven-tomcat-plugin
sdhc
quicklisp
deis
ibaction
javax.mail
geonetwork
clicktag
xcode-6.2
java-metro-framework
centos5
dexterity
listings
eclipse-memory-analyzer
back-stack
yui-compressor
jquery-mobile-dialog
dmoz
sublist
word-processor
pysimplesoap
pendrive
mod-auth
netbeans-7.1
appendto
android-sdk-2.1
nsviewanimation
microsoft-virtualization
thread-local-storage
defensive-programming
w3wp
ugc

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App