Questions tagged [methodnotfound]

56 questions
0
votes
1 answer

Java redirect class method not found, needed for Android onClick from xml layout

I am trying to find if it's possible to have a "method not found" 'catcher' on the Java objects, so that the method can be sent to another object which you know that has that method. That is possible in other languages but I've never seen something…
htafoya
  • 18,261
  • 11
  • 80
  • 104
0
votes
0 answers

java.lang.NoSuchMethodError caused by maven shade

I'm getting the following error: java.lang.NoSuchMethodError: 'com.google.common.collect.ImmutableMap com.google.common.collect.ImmutableMap$Builder.buildKeepingLast()' My pom file looks like that:
koque
  • 17
  • 2
0
votes
0 answers

The following method did not exist: 'java.lang.String javax.servlet.ServletContext.getVirtualServerName()'

I am developing a simple application using Spring Boot, this is my pom org.springframework.boot spring-boot-starter-web
Олег
  • 1
  • 2
0
votes
1 answer

How to handle MethodNotallowed exception in django rest framework by creating seperate file for exceptions

In my Django RestApi project I want to apply Exceptions errors. I create a separate file (common.py) for all my exceptions file is located out side the project where our manage.py file located. this is in my file: HTTP_STRING = { 'get':…
0
votes
2 answers

EzAPI Method not found

My development environment Windows 10 2004 64 bit Visual Studio 2019 Community Edition Version 16.7.6 SQL Server 2019 EzAPI2016 Working with EzAPI to implement a sample workflow that read a table and write to another temp table in the same…
0
votes
0 answers

TypeError: _this.setCurrentUserName is not a function but works when refresh

I am using angular 7 and I have implement within the Auth service Login method a call to a method os the same service to set a variable of such method: export class AuthService { private url:string = 'http://localhost:8080/Auth'; private…
0
votes
0 answers

Elastic Search client cannot find Request class

I use elastic search 6.3.2 java client with spring boot, and the error is Request class is missing. However from the dependencies, I could clearly find the request class. Any idea how to solve this problem? Only add one dependency of elastic…
Bargitta
  • 2,266
  • 4
  • 22
  • 35
0
votes
1 answer

dalvik couldnt found methods, although they exist in classes.dex

Starting my android-apk on the device, dalvik complains not to find some methods although all this methods are contained in classes.dex to see using apkanalyser dex packages .... These methods are from platform base android.jar Why dalvik can not…
0
votes
1 answer

Method not found exception on MethodExpression.invoke()

I have a need to programmatically call/invoke a method in one of my backing beans. I've looked at several examples, and from what I can see, this "should" work. My code: UIData data = (UIData)component; fc = FacesContext.getCurrentInstance(); elc =…
Mickelback
  • 351
  • 2
  • 5
  • 16
0
votes
1 answer

Android changeBackground method not found

Android Studio: so I am very simply trying to change the background image of my active activity "Stream Page Main", which is not my main activity, by clicking on a button in this "Stream Page Main" activity. This should be one line of code, however,…
0
votes
1 answer

Method Not Found ? This not made sense

I'm trying to implement a FileUpload feature in a simple JSF/CDI project, with correct dependencies(i think) and the same code that i found in the primefaces showcase. But for some reason, the FileUpload event does not found the listener in my…
Cleiton Ribeiro
  • 359
  • 2
  • 5
  • 16
0
votes
1 answer

Javascript External Method Not Found

I have a html page with this on it. var accountid = getParameterByName("AccountId"); var account = null; if (accountid != null) { account = GetEntity("Account", accountid, "Name, piv_BusinessUnit, AccountId"); } At the bottom of that same page…
Tom Hanson
  • 873
  • 10
  • 39
0
votes
2 answers

How to resolve a "MethodNotAllowedHttpException" error in Laravel?

I am developing a passport API in Laravel. I am getting a "MethodNotAllowedHttpException". I don't get any idea, what fix do I have to do.
0
votes
1 answer

Method not found exception c#

I ran into one very simple issue but not able to understand its cause. Here is the brief of issue. I am referencing dll of one project say B into project A. referenced dll has 3 classes in all and I am able use methods in all classes into project A…
Ajinkya Wani
  • 39
  • 1
  • 10
0
votes
1 answer

Method not found on release build

Lately, I encountered a slowdown in my website and already found the cause. The reason behind is because the methods in my DA layer has IEnumerable parameters instead of IQueryable. I already refactored the parameters in my DA and the solution was…
Jan Lyndon Jasa
  • 162
  • 1
  • 10