<p>I'm getting a <code>NoSuchMethodError</code> error when running my Java program.  What's wrong and how do I fix it?</p>

[{'answer_id': 35187, 'author': 'John Meagher', 'author_id': 3535, 'author_profile': 'https://Stackoverflow.com/users/3535', 'pm_score': 4, 'selected': False, 'text': '<p>This is usually caused when using a build system like <a href="http://ant.apache.org" rel="noreferrer">Apache Ant</a> that only compiles java files when the java file is newer than the class file.  If a method signature changes and classes were using the old version things may not be compiled correctly.  The usual fix is to do a full rebuild (usually "ant clean" then "ant").  </p>\n\n<p>Sometimes this can also be caused when compiling against one version of a library but running against a different version.</p>\n'}, {'answer_id': 35210, 'author': 'Vetle', 'author_id': 2935, 'author_profile': 'https://Stackoverflow.com/users/2935', 'pm_score': 9, 'selected': True, 'text': '<p>Without any more information it is difficult to pinpoint the problem, but the root cause is that you most likely have compiled a class against a different version of the class that is missing a method, than the one you are using when running it.</p>\n\n<p>Look at the stack trace ... If the exception appears when calling a method on an object in a library, you are most likely using separate versions of the library when compiling and running. Make sure you have the right version both places.</p>\n\n<p>If the exception appears when calling a method on objects instantiated by classes <em>you</em> made, then your build process seems to be faulty. Make sure the class files that you are actually running are updated when you compile.</p>\n'}, {'answer_id': 35350, 'author': 'rcreswick', 'author_id': 3446, 'author_profile': 'https://Stackoverflow.com/users/3446', 'pm_score': 3, 'selected': False, 'text': '<p>This can also be the result of using reflection.  If you have code that reflects on a class and extracts a method by name (eg: with <code>Class.getDeclaredMethod("someMethodName", .....)</code>) then any time that method name changes, such as during a refactor, you will need to remember to update the parameters to the reflection method to match the new method signature, or the <code>getDeclaredMethod</code> call will throw a <code>NoSuchMethodException</code>.</p>\n\n<p>If this is the reason, then the stack trace should show the point that the reflection method is invoked, and you\'ll just need to update the parameters to match the actual method signature.  </p>\n\n<p>In my experience, this comes up occasionally when unit testing private methods/fields, and using a <code>TestUtilities</code> class to extract fields for test verification.  (Generally with legacy code that wasn\'t designed with unit testing in mind.)</p>\n'}, {'answer_id': 36617, 'author': 'erickson', 'author_id': 3474, 'author_profile': 'https://Stackoverflow.com/users/3474', 'pm_score': 6, 'selected': False, 'text': '<p>Note that in the case of reflection, you get an <code>NoSuchMethodException</code>, while with non-reflective code, you get <code>NoSuchMethodError</code>. I tend to go looking in very different places when confronted with one versus the other.</p>\n'}, {'answer_id': 38656, 'author': 'Cheekysoft', 'author_id': 1820, 'author_profile': 'https://Stackoverflow.com/users/1820', 'pm_score': 2, 'selected': False, 'text': "<p>If you are writing a webapp, ensure that you don't have conflicting versions of a jar in your container's global library directory and also in your app. You may not necessarily know which jar is being used by the classloader.</p>\n\n<p>e.g.  </p>\n\n<ul>\n<li>tomcat/common/lib</li>\n<li>mywebapp/WEB-INF/lib</li>\n</ul>\n"}, {'answer_id': 42097, 'author': 'matt b', 'author_id': 4249, 'author_profile': 'https://Stackoverflow.com/users/4249', 'pm_score': 6, 'selected': False, 'text': '<p>If you have access to change the JVM parameters, adding verbose output should allow you to see what classes are being loaded from which JAR files.</p>\n\n<pre><code>java -verbose:class &lt;other args&gt;\n</code></pre>\n\n<p>When your program is run, the JVM should dump to standard out information such as:</p>\n\n<blockquote>\n  <p>...</p>\n  \n  <p>[Loaded junit.framework.Assert from file:/C:/Program%20Files/junit3.8.2/junit.jar]</p>\n  \n  <p>...</p>\n</blockquote>\n'}, {'answer_id': 2985338, 'author': 'Chris Dutrow', 'author_id': 84131, 'author_profile': 'https://Stackoverflow.com/users/84131', 'pm_score': 7, 'selected': False, 'text': '<p>I was having your problem, and this is how I fixed it.  The following steps are a working way to add a library.  I had done the first two steps right, but I hadn\'t done the last one by dragging the ".jar" file direct from the file system into the "lib" folder on my eclipse project.  Additionally, I had to remove the previous version of the library from both the build path and the "lib" folder.</p>\n\n<h2>Step 1 - Add .jar to build path</h2>\n\n<p><img src="https://i.stack.imgur.com/Os3Be.gif" alt="enter image description here"></p>\n\n<h2>Step 2 - Associate sources and javadocs (optional)</h2>\n\n<p><img src="https://i.stack.imgur.com/vaOVy.gif" alt="enter image description here"></p>\n\n<h2>Step 3 - Actually drag .jar file into "lib" folder (not optional)</h2>\n\n<p><img src="https://i.stack.imgur.com/2OkvN.gif" alt="enter image description here"></p>\n'}, {'answer_id': 14017856, 'author': 'Reachgoals', 'author_id': 1874487, 'author_profile': 'https://Stackoverflow.com/users/1874487', 'pm_score': 2, 'selected': False, 'text': '<p>To answer the original question. According to java docs <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/NoSuchMethodError.html" rel="nofollow noreferrer">here</a>:</p>\n\n<blockquote>\n  <p>"NoSuchMethodError" Thrown if an application tries to call a specified method of a class (either static or instance), and that class no longer has a definition of that method.</p>\n</blockquote>\n\n<p>Normally, this error is caught by the compiler; this error can only occur at run time if the definition of a class has incompatibly changed. </p>\n\n<ol>\n<li>If it happens in the run time, check the class containing the method is in class path.</li>\n<li>Check if you have added new version of JAR and the method is compatible.</li>\n</ol>\n'}, {'answer_id': 18336764, 'author': 'knorman', 'author_id': 1524513, 'author_profile': 'https://Stackoverflow.com/users/1524513', 'pm_score': 1, 'selected': False, 'text': '<p>I ran into a similar problem when I was changing method signatures in my application. \nCleaning and rebuilding my project resolved the "NoSuchMethodError".</p>\n'}, {'answer_id': 27896288, 'author': 'Amit Walke', 'author_id': 4444104, 'author_profile': 'https://Stackoverflow.com/users/4444104', 'pm_score': -1, 'selected': False, 'text': '<p>If your file name is different than the class name which contain main method then it may be the possibility that this error may cause.</p>\n'}, {'answer_id': 31451884, 'author': 'Quảng Trường Thời Đại', 'author_id': 5123156, 'author_profile': 'https://Stackoverflow.com/users/5123156', 'pm_score': 2, 'selected': False, 'text': '<p>These problems are caused by the use of the same object at the same two classes.\nObjects used does not contain new method has been added that the new object class contains.</p>\n\n<p>ex:</p>\n\n<pre><code>filenotnull=/DayMoreConfig.conf\n16-07-2015 05:02:10:ussdgw-1: Open TCP/IP connection to SMSC: 10.149.96.66 at 2775\n16-07-2015 05:02:10:ussdgw-1: Bind request: (bindreq: (pdu: 0 9 0 [1]) 900 900 GEN 52 (addrrang: 0 0 2000) ) \nException in thread "main" java.lang.NoSuchMethodError: gateway.smpp.PDUEventListener.&lt;init&gt;(Lgateway/smpp/USSDClient;)V\n        at gateway.smpp.USSDClient.bind(USSDClient.java:139)\n        at gateway.USSDGW.initSmppConnection(USSDGW.java:274)\n        at gateway.USSDGW.&lt;init&gt;(USSDGW.java:184)\n        at com.vinaphone.app.ttn.USSDDayMore.main(USSDDayMore.java:40)\n\n-bash-3.00$ \n</code></pre>\n\n<p>These problems are caused by the concomitant 02 similar class (1 in src, 1 in jar file here is gateway.jar)</p>\n'}, {'answer_id': 33004790, 'author': 'HoldOffHunger', 'author_id': 2430549, 'author_profile': 'https://Stackoverflow.com/users/2430549', 'pm_score': 4, 'selected': False, 'text': '<p>If using <em>Maven</em> or another framework, and you get this error almost randomly, try a clean install like...</p>\n<pre><code>clean install\n</code></pre>\n<p>This is especially likely to work if you wrote the object and you know it has the method.</p>\n'}, {'answer_id': 38221921, 'author': 'ShankarDaruga', 'author_id': 3233621, 'author_profile': 'https://Stackoverflow.com/users/3233621', 'pm_score': 1, 'selected': False, 'text': "<p>I've had the same problem. This is also caused when there is an ambiguity in classes. My program was trying to invoke a method which was present in two JAR files present in the same location / class path. Delete one JAR file or execute your code such that only one JAR file is used. Check that you are not using same JAR or different versions of the same JAR that contain the same class.</p>\n\n<blockquote>\n  <p>DISP_E_EXCEPTION [step] [] [Z-JAVA-105  Java exception java.lang.NoSuchMethodError(com.example.yourmethod)]</p>\n</blockquote>\n"}, {'answer_id': 40418906, 'author': 'Shrikant', 'author_id': 4046264, 'author_profile': 'https://Stackoverflow.com/users/4046264', 'pm_score': 2, 'selected': False, 'text': '<p>It means the respective method is not present in the class: </p>\n\n<ol>\n<li>If you are using jar then decompile and check if the respective version of jar have proper class. </li>\n<li>Check if you have compiled proper class from your source.</li>\n</ol>\n'}, {'answer_id': 40696954, 'author': 'prince', 'author_id': 2329450, 'author_profile': 'https://Stackoverflow.com/users/2329450', 'pm_score': 1, 'selected': False, 'text': "<p>Above answer explains very well ..just to add one thing\nIf you are using using eclipse use ctrl+shift+T and enter package structure of class (e.g. : gateway.smpp.PDUEventListener ), you will find all jars/projects where it's present. Remove unnecessary jars from classpath or add above in class path. Now it will pick up correct one. </p>\n"}, {'answer_id': 45825973, 'author': 'Tito', 'author_id': 8502408, 'author_profile': 'https://Stackoverflow.com/users/8502408', 'pm_score': 3, 'selected': False, 'text': '<p>For me it happened because I changed argument type in function, from Object a, to String a. I could resolve it with clean and build again</p>\n'}, {'answer_id': 46110829, 'author': 'Ryan Luo Xu', 'author_id': 7640451, 'author_profile': 'https://Stackoverflow.com/users/7640451', 'pm_score': 2, 'selected': False, 'text': '<p>I have just solved this error by restarting my Eclipse and run the applcation.\nThe reason for my case may because I replace my source files without closing my project or Eclipse.\nWhich caused different version of classes I was using.</p>\n'}, {'answer_id': 46686696, 'author': 'AnonymousCoder', 'author_id': 1454390, 'author_profile': 'https://Stackoverflow.com/users/1454390', 'pm_score': 1, 'selected': False, 'text': '<p>I ran into similar issue.</p>\n\n<pre><code>Caused by: java.lang.NoSuchMethodError: com.abc.Employee.getEmpId()I\n</code></pre>\n\n<p>Finally I identified the root cause was changing the data type of variable. </p>\n\n<ol>\n<li><code>Employee.java</code> --> Contains the variable (<code>EmpId</code>) whose Data Type has been changed from <code>int</code> to <code>String</code>.</li>\n<li><code>ReportGeneration.java</code> --> Retrieves the value using the getter, <code>getEmpId()</code>.</li>\n</ol>\n\n<p>We are supposed to rebundle the jar by including only the modified classes. As there was no change in <code>ReportGeneration.java</code> I was only including the <code>Employee.class</code> in Jar file. I had to include the <code>ReportGeneration.class</code> file in the jar to solve the issue.</p>\n'}, {'answer_id': 48533169, 'author': 'Yash P Shah', 'author_id': 5790669, 'author_profile': 'https://Stackoverflow.com/users/5790669', 'pm_score': 1, 'selected': False, 'text': '<blockquote>\n  <p>Most of the times java.lang.NoSuchMethodError is caught be compiler but sometimes it can occur at runtime. If this error occurs at runtime then the only reason could be the change in the class structure that made it incompatible.</p>\n</blockquote>\n\n<p>Best Explanation: <a href="https://www.journaldev.com/14538/java-lang-nosuchmethoderror" rel="nofollow noreferrer">https://www.journaldev.com/14538/java-lang-nosuchmethoderror</a></p>\n'}, {'answer_id': 49997295, 'author': 'WHOIF', 'author_id': 8693157, 'author_profile': 'https://Stackoverflow.com/users/8693157', 'pm_score': 2, 'selected': False, 'text': '<p>Try this way: remove all .class files under your project directories (and, of course, all subdirectories). Rebuild.</p>\n\n<p>Sometimes <code>mvn clean</code> (if you are using maven) does not clean .class files manually created by <code>javac</code>. And those old files contain old signatures, leading to <code>NoSuchMethodError</code>.</p>\n'}, {'answer_id': 50179330, 'author': 'Mihai Savin', 'author_id': 4289110, 'author_profile': 'https://Stackoverflow.com/users/4289110', 'pm_score': 1, 'selected': False, 'text': "<p>I've encountered this error too.</p>\n\n<p>My problem was that I've changed a method's signature, something like</p>\n\n<pre><code>void invest(Currency money){...}\n</code></pre>\n\n<p>into </p>\n\n<pre><code>void invest(Euro money){...}\n</code></pre>\n\n<p>This method was invoked from a context similar to</p>\n\n<pre><code>public static void main(String args[]) {\n    Bank myBank = new Bank();\n\n    Euro capital = new Euro();\n    myBank.invest(capital);\n}\n</code></pre>\n\n<p>The compiler was silent with regard to warnings/ errors, as capital is both Currency as well as Euro.</p>\n\n<p>The problem appeared due to the fact that I only compiled the class in which the method was defined - Bank, but not the class from which the method is being called from, which contains the main() method.</p>\n\n<p>This issue is not something you might encounter too often, as most frequently the project is rebuilt mannually or a Build action is triggered automatically, instead of just compiling the one modified class.</p>\n\n<p>My usecase was that I generated a .jar file which was to be used as a hotfix, that did not contain the App.class as this was not modified. It made sense to me not to include it as I kept the initial argument's base class trough inheritance.</p>\n\n<p>The thing is, when you compile a class, the resulting bytecode is kind of <em>static</em>, in other words, it's a <em>hard-reference</em>.</p>\n\n<p>The original disassembled bytecode (generated with the javap tool) looks like this:</p>\n\n<pre><code> #7 = Methodref          #2.#22         // Bank.invest:(LCurrency;)V\n</code></pre>\n\n<p>After the ClassLoader loads the new compiled Bank.class, it will not find such a method, it appears as if it was removed and not changed, thus the named error.</p>\n\n<p>Hope this helps.</p>\n"}, {'answer_id': 50558413, 'author': 'Dave Inlow', 'author_id': 9856495, 'author_profile': 'https://Stackoverflow.com/users/9856495', 'pm_score': 2, 'selected': False, 'text': '<p>I fixed this problem in Eclipse by renaming a Junit test file.<br>\nIn my Eclipse work space I have an App project and a Test project.<br>\nThe Test project has the App project as a required project on the build path.  </p>\n\n<p>Started getting the NoSuchMethodError.<br>\nThen I realized the class in the Test project had the same name as the class in the App project.  </p>\n\n<pre><code>App/  \n  src/\n     com.example/  \n       Projection.java\nTest/  \n  src/\n     com.example/\n       Projection.java\n</code></pre>\n\n<p>After renaming the Test to the correct name "ProjectionTest.java" the exception went away.</p>\n'}, {'answer_id': 52417961, 'author': 'K.K', 'author_id': 1125743, 'author_profile': 'https://Stackoverflow.com/users/1125743', 'pm_score': 1, 'selected': False, 'text': "<p>The problem in my case was having two versions of the same library in the build path. The older version of the library didn't have the function, and newer one did. </p>\n"}, {'answer_id': 52420929, 'author': 'Vikas', 'author_id': 3864917, 'author_profile': 'https://Stackoverflow.com/users/3864917', 'pm_score': 2, 'selected': False, 'text': '<p>Just adding to existing answers. I was facing this issue with tomcat in eclipse. I had changed one class and did following steps,</p>\n\n<ol>\n<li><p>Cleaned and built the project in eclpise</p></li>\n<li><p>mvn clean install</p></li>\n<li>Restarted tomcat</li>\n</ol>\n\n<p>Still I was facing same error. Then <strong>I cleaned tomcat, cleaned tomcat working directory</strong> and restarted server and my issue is gone.  Hope this helps someone</p>\n'}, {'answer_id': 53204368, 'author': 'J.Orlando', 'author_id': 8236013, 'author_profile': 'https://Stackoverflow.com/users/8236013', 'pm_score': 1, 'selected': False, 'text': '<p>I had a similar problem with my Gradle Project using Intelij.\nI solved it by deleting the .gradle (see screenshot below) Package and rebuilding the Project.\n<a href="https://i.stack.imgur.com/hWIL8.png" rel="nofollow noreferrer">.gradle Package</a></p>\n'}, {'answer_id': 54742067, 'author': 'Shirish Singh', 'author_id': 2959707, 'author_profile': 'https://Stackoverflow.com/users/2959707', 'pm_score': 2, 'selected': False, 'text': "<p>NoSuchMethodError : I have spend couple of hours fixing this issue, finally fixed it by just renaming package name , clean and build ... Try clean build first if it doesn't works try renaming the class name or package name and clean build...it should be fixed. Good luck.</p>\n"}, {'answer_id': 55582143, 'author': 'invzbl3', 'author_id': 8370915, 'author_profile': 'https://Stackoverflow.com/users/8370915', 'pm_score': 3, 'selected': False, 'text': '<p>I had the same error:</p>\n\n<pre><code>  Exception in thread "main" java.lang.NoSuchMethodError: com.fasterxml.jackson.core.JsonGenerator.writeStartObject(Ljava/lang/Object;)V\n        at com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:151)\n        at com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.serializeValue(DefaultSerializerProvider.java:292)\n        at com.fasterxml.jackson.databind.ObjectMapper._configAndWriteValue(ObjectMapper.java:3681)\n        at com.fasterxml.jackson.databind.ObjectMapper.writeValueAsString(ObjectMapper.java:3057)\n</code></pre>\n\n<p>To solve it I checked, firstly, <a href="https://www.jetbrains.com/help/idea/module-dependency-diagram.html" rel="noreferrer">Module Dependency Diagram</a> (<code>click in your POM the combination -&gt; Ctrl+Alt+Shift+U</code> or <code>right click in your POM -&gt; Maven -&gt; Show dependencies</code>) to understand where exactly was the conflict between libraries (Intelij IDEA). In my particular case, I had different versions of Jackson dependencies.</p>\n\n<p><a href="https://i.stack.imgur.com/bCXG4.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/bCXG4.jpg" alt="enter image description here"></a> <a href="https://i.stack.imgur.com/Tpz8j.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/Tpz8j.jpg" alt="enter image description here"></a></p>\n\n<p>1) So, I added directly in my POM of the project explicitly the highest version - 2.8.7 of these two.</p>\n\n<p>In properties:</p>\n\n<pre><code>&lt;jackson.version&gt;2.8.7&lt;/jackson.version&gt;\n</code></pre>\n\n<p>And as dependency:</p>\n\n<pre><code>&lt;dependency&gt;\n    &lt;groupId&gt;com.fasterxml.jackson.core&lt;/groupId&gt;\n    &lt;artifactId&gt;jackson-databind&lt;/artifactId&gt;\n    &lt;version&gt;${jackson.version}&lt;/version&gt;\n&lt;/dependency&gt;\n</code></pre>\n\n<p>2) But also it can be solved using <a href="https://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html" rel="noreferrer">Dependency Exclusions</a>.</p>\n\n<p>By the same principle as below in example:</p>\n\n<pre><code>  &lt;dependency&gt;\n      &lt;groupId&gt;group-a&lt;/groupId&gt;\n      &lt;artifactId&gt;artifact-a&lt;/artifactId&gt;\n      &lt;version&gt;1.0&lt;/version&gt;\n          &lt;exclusions&gt;\n             &lt;exclusion&gt;\n                &lt;groupId&gt;com.fasterxml.jackson.core&lt;/groupId&gt;\n                &lt;artifactId&gt;jackson-databind&lt;/artifactId&gt;\n             &lt;/exclusion&gt;\n         &lt;/exclusions&gt;\n  &lt;/dependency&gt;\n</code></pre>\n\n<p>Dependency with unwanted version will be excluded from your project.</p>\n'}, {'answer_id': 56736243, 'author': 'Gaurav Khare', 'author_id': 3662213, 'author_profile': 'https://Stackoverflow.com/users/3662213', 'pm_score': 2, 'selected': False, 'text': '<p>In my case I had a multi module project and scenario was like <code>com.xyz.TestClass</code> was in module <code>A</code> and as well as in module <code>B</code> and module <code>A</code> was dependent on module <code>B</code>. So while creating a assembly jar I think only one version of class was retained if that doesn\'t have the invoked method then I was getting <code>NoSuchMethodError</code> runtime exception, but compilation was fine.</p>\n\n<p>Related : <a href="https://reflectoring.io/nosuchmethod/" rel="nofollow noreferrer">https://reflectoring.io/nosuchmethod/</a></p>\n'}, {'answer_id': 64689842, 'author': 'diplesh mankape', 'author_id': 14580590, 'author_profile': 'https://Stackoverflow.com/users/14580590', 'pm_score': 0, 'selected': False, 'text': '<p>One such instance where this error occurs:\nI happened to make a silly mistake of accessing private static member variables in a non static method. Changing the method to static solved the problem.</p>\n'}, {'answer_id': 65420248, 'author': 'Nachiket Doke', 'author_id': 5530721, 'author_profile': 'https://Stackoverflow.com/users/5530721', 'pm_score': 1, 'selected': False, 'text': '<p>I had faced the same issue. I changed the return type of one method and ran the test code of that one class. That is when I faced this <code>NoSuchMethodError</code>. As a solution, I ran the maven builds on the entire repository once, before running the test code again. The issue got resolved in the next single test run.</p>\n'}, {'answer_id': 66332755, 'author': 'Cihat Özdenoğlu', 'author_id': 11190435, 'author_profile': 'https://Stackoverflow.com/users/11190435', 'pm_score': 2, 'selected': False, 'text': '<p>Why anybody doesn\'t mention dependency conflicts? This common problem can be related to included dependency jars with different versions.\nDetailed explanation and solution: <a href="https://dzone.com/articles/solving-dependency-conflicts-in-maven" rel="nofollow noreferrer">https://dzone.com/articles/solving-dependency-conflicts-in-maven</a></p>\n<p>Short answer;</p>\n<p>Add this maven dependency;</p>\n<pre class="lang-xml prettyprint-override"><code>&lt;plugin&gt;\n&lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;\n&lt;artifactId&gt;maven-enforcer-plugin&lt;/artifactId&gt;\n&lt;version&gt;3.0.0-M3&lt;/version&gt;\n&lt;configuration&gt;\n    &lt;rules&gt;\n        &lt;dependencyConvergence /&gt;\n    &lt;/rules&gt;\n&lt;/configuration&gt;\n&lt;/plugin&gt;\n\n</code></pre>\n<p>Then run this command;</p>\n<pre><code>mvn enforcer:enforce\n</code></pre>\n<p>Maybe this is the cause your the issue you faced.</p>\n'}, {'answer_id': 69387076, 'author': 'Murat Yıldız', 'author_id': 1604048, 'author_profile': 'https://Stackoverflow.com/users/1604048', 'pm_score': 0, 'selected': False, 'text': "<p>For me, none of the workarounds mentioned here did not work.</p>\n<blockquote>\n<p>Updating <code>mockito-core</code> from <code>3.3.3</code> to <code>3.4.3</code> fixed the problem.</p>\n</blockquote>\n<p>I think it is caused by that MockitoAnnotations.initMock() method is deprecated and replaced with MockitoAnnotations.openMocks() in Mockito JUnit 5 version 3.</p>\n<p>On the other hand, it may be worthy to check the local Maven Repository and delete unnecessary jars that may cause conflict. But when applying this step, be attention and don't delete manually installed ones (or get backup before the operation).</p>\n"}, {'answer_id': 74083527, 'author': 'Neo Sono', 'author_id': 6795887, 'author_profile': 'https://Stackoverflow.com/users/6795887', 'pm_score': 0, 'selected': False, 'text': '<p>For my case. I had to check other referenced methods. I needed to change the method signature everywhere to be the same as newly updated method signature.</p>\n<p>For example, changing the return type of a particular method from collection to an array list.</p>\n'}]
['https://Stackoverflow.com/questions/35186', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/3535/']