Questions tagged [nosuchmethod]

41 questions
0
votes
2 answers

JSONObject NoSuchMethodException- Init

I'm using reflection to write a class that will create objects (whose type I am passing as parameter Base) from the elements of JSONArray jArr, and add them to ArrayList objectList. Everything is going fine until I get to this step: for(int i = 0;…
whiterabbit25
  • 257
  • 3
  • 10
0
votes
0 answers

NoSuchMethod Exception though method present in jar

I am using one third party jar ( Jar has Model classes) in Restful web service. It is working fine in one environment. But it is not working properly in another environment. for Marshaling purpose I am using that jar. some of the fields are missed…
Gnana
  • 1,662
  • 3
  • 19
  • 48
0
votes
2 answers

Remedy for java.lang.NoSuchMethodException: Unknown property 'Centres'

I am working on a project based on Struts2. I have a POJO called AddCentreNestedForm which has one of the property of type String[] called Centres. So public class AddCentreNestedForm{ .... .... private String[] Centres = new…
azaveri7
  • 609
  • 1
  • 9
  • 36
0
votes
1 answer

Android NoSuchMethodException thrown when using extends

I have an Activity CropActivity, that uses my own written View CropView. CropView extends SelectorView (also selfwritten), and SelectorView extends ImageView. When starting the CropActivity, a NoSuchMethodException is thrown. When using the…
JorenV
  • 352
  • 2
  • 15
0
votes
1 answer

NoSuchMethodError exception from Java MapReduce pipeline POST /mapreduce/workerCallback?

Do you know of a workaround for this uncaught exception from the Java mapreduce pipeline on Google App Engine? Is it simply a failure in GcsServiceFactory that created GCS_SERVICE in this…
0
votes
1 answer

Weblogic 9.2: java.lang.NoSuchMethodError: javax.jws.WebMethod.exclude()Z

I'm getting this error when I'm trying to consume one Web Service: java.lang.NoSuchMethodError: javax.jws.WebMethod.exclude()Z at org.apache.cxf.jaxws.support.JaxWsServiceConfiguration.isOperation(JaxWsServiceConfiguration.java:155) at…
Tete
  • 1
0
votes
1 answer

NoSuchMethodError: LocalSessionFactoryBuilder.addAnnotatedClass(Ljava/lang/Class;)Lorg/hibernate/cfg/Configuration;

I am using Spring 3.2 and Hibernate4. I included all Jars required. Using JBoss AS. Deploying from Eclipse. But I am getting this error. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'personController':…
Kevin Rave
  • 11,992
  • 31
  • 97
  • 158
0
votes
1 answer

NoSuchMethodException during deploying

I am using glassfish 3.1.2.2 server and idea ultimate edition 11 (on Ubuntu 12.04). While I am deploying my ear project there is an exception, first nullpointer then nosuchmethod. On 3.0.1 of glassfish it works, but in 3.1.2 doesnot. Server…
Kirill Bazarov
  • 4,346
  • 6
  • 31
  • 49
0
votes
1 answer

Pass argument to callback function COCOS2D Android

I've started working with cocos2d few days ago...and im working on small 2d game. I figured out how to animate sprites. Now when sprite finished with animation I want it to be cleared from screen. How to pass argument to callback…
Veljko
  • 1,823
  • 6
  • 27
  • 55
-1
votes
2 answers

Exception while using HTMLUnit in Java

I'm using HTMLUnit in my Java application. This code: final WebClient webClient = new WebClient(BrowserVersion.CHROME_16); webClient.getOptions().setThrowExceptionOnScriptError(false); …
PoQ
  • 184
  • 2
  • 13
-1
votes
1 answer

Java scripting NoSuchMethodException?

I'm working on getting (JavaScript) scripting to work in Java. I have a program in JavaScript, defined in my Java program (along with instances of all the necessary script engine related things) like so: static ScriptEngineManager engineManager =…
user263078
1 2
3