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

Spring Specification With Sum Function
Java REGEX Pattern Problems
I don't understand this Java program
org.apache.coyote.AbstractProtocol$ConnectionHandler.process Error reading request, ignored
Send message with restFB
ActiveMQ and failover protocol not auto connecting
Working of generics in Java
Efficient algorithm for searching a row which a tabular structure
Reducing time delay between tomcat access timestamp and actual Spring web application application level timestamp
Gephi: How to add a new attribute to nodes?
how to get date from datepicker to another activity in android
org.hibernate.QueryException: unexpected token: WITH in hql
Android app - retrieving messages from Gmail
Java - return a reference to a specific place in a linkedlist with list iterator
Android Signal R - calling Method with parameters
Android PackageStats gives negative Values

Categories

HOME
ionic-framework
winforms
coq
blogger
zeromq
json.net
appx
stock
lodash
youtube-dl
installshield
in-app-purchase
awesome-wm
windows-10-universal
user-input
spring-kafka
volttron
gz
zebra-printers
telephony
excel-vba-mac
custom-wordpress-pages
emgucv
dbclient
google-cloud-nl
fog
grails-3.1
protovis
subset-sum
sequential
html5-fullscreen
picasso
file-format
stacked
automake
azure-ml
scorm
apple-news
jxcore
lift-json
google-perftools
namecoin
cudafy.net
gcsfuse
crosswalk-runtime
gnome-shell-extensions
xcb
firmata
measures
etsy
gstreamer-0.10
fputcsv
independentsoft
xpath-1.0
spim
jmeter-maven-plugin
tmuxinator
spidermonkey
computer-algebra-systems
security-testing
0xdbe
arcanist
graph-drawing
generic-programming
apache-commons-net
operator-precedence
typekit
asp.net-web-api-odata
html-helper
typeof
phpthumb
stxxl
fmod
.aspxauth
cdc
flash-builder4.5
seed
orchardcms-1.7
spring-validator
ember-app-kit
cassini-dev
wse3.0
bubble-chart
buildr
nsdatecomponents
doh
table-footer
ecl
mozilla-prism
preference
firefox-5
pascal-fc
msdev
rtml

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