This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 268830 - NoSuchMethodError: org.apache.maven.DefaultMaven.newRepositorySession(Lorg/apache/maven/execution/MavenExecutionRequest;)Lorg/sonatype/aether/RepositorySystemSession;
Summary: NoSuchMethodError: org.apache.maven.DefaultMaven.newRepositorySession(Lorg/ap...
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
: 268831 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-11-04 14:10 UTC by javatlacati
Modified: 2016-11-09 09:02 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 227085


Attachments
stacktrace (4.62 KB, text/plain)
2016-11-04 14:10 UTC, javatlacati
Details

Note You need to log in before you can comment on or make changes to this bug.
Description javatlacati 2016-11-04 14:10:44 UTC
This issue was reported manually by javatlacati.
It already has 1 duplicates 


Build: NetBeans IDE Dev (Build 201610040002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.77-b03, Java(TM) SE Runtime Environment, 1.8.0_77-b03
OS: Windows 10

User Comments:
javatlacati: opened POM




Stacktrace: 
java.lang.NoSuchMethodError: org.apache.maven.DefaultMaven.newRepositorySession(Lorg/apache/maven/execution/MavenExecutionRequest;)Lorg/sonatype/aether/RepositorySystemSession;
   at org.netbeans.modules.maven.hints.pom.StatusProvider.runMavenValidationImpl(StatusProvider.java:403)
   at org.netbeans.modules.maven.hints.pom.StatusProvider.runMavenValidation(StatusProvider.java:361)
   at org.netbeans.modules.maven.hints.pom.StatusProvider.access$300(StatusProvider.java:120)
   at org.netbeans.modules.maven.hints.pom.StatusProvider$StatusProviderImpl.findHints(StatusProvider.java:185)
   at org.netbeans.modules.maven.hints.pom.StatusProvider$StatusProviderImpl.checkHints(StatusProvider.java:179)
   at org.netbeans.modules.maven.hints.pom.StatusProvider$StatusProviderImpl.access$000(StatusProvider.java:132)
Comment 1 javatlacati 2016-11-04 14:10:46 UTC
Created attachment 162774 [details]
stacktrace
Comment 2 Tomas Stupka 2016-11-07 10:23:32 UTC
maven.hints referred an outdated maven.embedder version, which might have caused the issue after an update from the UC.
will fix that.

another thing is that from looking on your messages.log file - there is a lot of other exceptions and your netbeans install seems to be quite messed up. 
the best would be that you uninstall and install NB again. perhaps also remove your userdir.
Comment 3 Tomas Stupka 2016-11-07 12:16:20 UTC
*** Bug 268831 has been marked as a duplicate of this bug. ***
Comment 4 Tomas Stupka 2016-11-07 12:26:45 UTC
fixed in jet-main #87c1a73d5a4c
Comment 5 Quality Engineering 2016-11-09 09:02:48 UTC
Integrated into 'main-silver', will be available in build *201611090620* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/87c1a73d5a4c
User: Tomas Stupka <tstupka@netbeans.org>
Log: Issue #268830 - NoSuchMethodError: org.apache.maven.DefaultMaven.newRepositorySession(Lorg/apache/maven/execution/MavenExecutionRequest;)Lorg/sonatype/aether/RepositorySystemSession;