java


NoSuchMethodException SoapUI Java


I am currently writing a Java program that uses SOAPUI api for testing requests. After downloading and adding the soapui-4.5.1.jar to the classpath, I'm getting a NoSuchMethodException exception.
Exception in thread "main" java.lang.NoSuchMethodError: com.eviware.soapui.config.ProjectConfig.setActiveEnvironment(Ljava/lang/String;)V
at com.eviware.soapui.impl.wsdl.WsdlProject.setActiveEnvironment(WsdlProject.java:444)
at com.eviware.soapui.impl.wsdl.WsdlProject.<init>(WsdlProject.java:308)
at com.eviware.soapui.impl.wsdl.WsdlProject.<init>(WsdlProject.java:212)
at com.eviware.soapui.impl.wsdl.WsdlProject.<init>(WsdlProject.java:202)
at com.eviware.soapui.impl.wsdl.WsdlProject.<init>(WsdlProject.java:187)
at soap.WsdlRequest.testRequest(WsdlRequest.java:17)
at soap.WsdlRequest.main(WsdlRequest.java:45)
I looked at the com.eviware.soapui.config.ProjectConfig class, and it has a setActiveEnvironment method. I'm wondering if I'm using the right version of soapui.
Perpahps you have multiple soapui jars in your lib [irrespective of same version] Take a look at the answer here
How can I catch a NoSuchMethodException?
or it may be a private method. Not sure about this though :)

Related Links

Array changing doesnt work
How to find if a given timestamp is within a cron-expression?
instanceof enthuware OCAJP
My Null pointer exception
Extracting out a text variable in a sentence template to be replace by a random text
Maven dependency issue - artifact not found in central repo
how to encode multiple rows from mysql into json using php
round off digits in apache poi ss workbook
Is it possible to parcel a generic class?
Shiro custom authentication logic
Incompatable types
Initializing the minValue and the maxValue and the the display wont show. Also, display if no number was entered
is it legal to compare two variables with both Double.positive_infinity values?
Better way to detect if a string contains multiple words
Automation - Page not changing after JQuery Execution on select2 item
NullPointer Exception in custom ListView Adapter

Categories

HOME
vbscript
urbancode
youtube-api-v3
jgroups
dxl
constraint-programming
append
pheatmap
add
slurm
primary-key
node-pdfkit
offline
etl
vaadin7
reactcsstransitiongroup
google-pagespeed
visjs
abi
kudan
mmap
pepper
underflow
apache-commons-io
facet
intel-pin
pingfederate
dbclient
jaxb2
gitignore
bpel
nat
preg-match
google-cloud-endpoints-v2
google-sites-2016
fog
code-contracts
overriding
bower-install
http-digest
git-merge
web-mining
libraries
az-application-insights
nxlog
businessworks
wptoolkit
menuitem
outlook-2013
azure-application-gateway
celery-task
alphabet
togetherjs
qtwebview
capacity
minimization
topbeat
root-framework
spring-android
angular-cache
slicknav
ado.net-entity-data-model
nsviewcontroller
ford-fulkerson
jfugue
msys
lib.web.mvc
qdialog
simple-framework
fouc
coveralls
tarjans-algorithm
rgeo
event-bubbling
operation
processmodel
system32
dundas
streambase
bridge.net
jsonpickle
tablelayout
java.util.concurrent
codeigniter-routing
castle
jquery-layout
wp-query
ember-charts
sabredav
cassini-dev
distutils
dmoz
coderush
bluepill
frameset
appconkit
windows-phone-7.1.1
removeclass
semantic-diff
gnustep
hamachi
table-footer
winbugs14
pyinotify
mysql-error-1005
subviews
infrastructure
fixed-width
multi-tier
substrings
avatar
grid-system

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