Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

    If you want to access functions/variables of a class from a different class they can't be private. The modifier private means that a function/variable can only be accessed from within the same class. Try the default, protected or public modifier.

  2. ,

    When a member (Variables, methods, and constructors) is private, it is only accessible within the same class as it is declared. Attempting to access or instantiate it from another class would throw java.lang.IllegalAccessException exception.

Solutions on the web

via Terracotta by gonchare, 1 year ago
Error to resolving surefire provider dependency: Unable to get dependency information: Unable to parse the Maven built-in model: Failed to interpolate field: private java.lang.Object org.apache.maven.model.ModelBase.reports on class
via terracotta.org by Unknown author, 2 years ago
Error to resolving surefire provider dependency: Unable to get dependency information: Unable to parse the Maven built-in model: Failed to interpolate field: private java.lang.Object org.apache.maven.model.ModelBase.reports on class
via Terracotta by gonchare, 1 year ago
Error to resolving surefire provider dependency: Unable to get dependency information: Unable to parse the Maven built-in model: Cannot retrieve list of profile activators. for project org.apache.maven:super-pom org.apache.maven.surefire:surefire
org.apache.maven.plugin.MojoExecutionException: Error to resolving surefire provider dependency: Unable to get dependency information: Unable to parse the Maven built-in model: Failed to interpolate field: private java.lang.Object org.apache.maven.model.ModelBase.reports on class: org.apache.maven.model.ModelBase for project org.apache.maven:super-pom org.apache.maven.surefire:surefire-booter:jar:2.4.3from the specified remote repositories: archiva.snapshots (http://epbygomsd0006:8001/archiva/repository/snapshots), central (http://repo1.maven.org/maven2), archiva.internal (http://epbygomsd0006:8001/archiva/repository/internal)Path to dependency: 1) dummy:dummy:jar:1.0 2) org.apache.maven.surefire:surefire-booter:jar:2.4.3 at org.terracotta.maven.plugins.tc.DsoSurefireMojo.constructSurefireBooter(DsoSurefireMojo.java:585) at org.terracotta.maven.plugins.tc.DsoSurefireMojo$SurefireThread.runSurefire(DsoSurefireMojo.java:434) at org.terracotta.maven.plugins.tc.DsoSurefireMojo$SurefireThread.run(DsoSurefireMojo.java:417) at java.lang.Thread.run(Thread.java:619)Caused by: org.apache.maven.artifact.resolver.ArtifactResolutionException: Unable to get dependency information: Unable to parse the Maven built-in model: Failed to interpolate field: private java.lang.Object org.apache.maven.model.ModelBase.reports on class: org.apache.maven.model.ModelBase for project org.apache.maven:super-pom org.apache.maven.surefire:surefire-booter:jar:2.4.3from the specified remote repositories: archiva.snapshots (http://epbygomsd0006:8001/archiva/repository/snapshots), central (http://repo1.maven.org/maven2), archiva.internal (http://epbygomsd0006:8001/archiva/repository/internal)Path to dependency: 1) dummy:dummy:jar:1.0 2) org.apache.maven.surefire:surefire-booter:jar:2.4.3 at org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:430) at org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(DefaultArtifactCollector.java:74) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:316) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:304) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:275) at org.terracotta.maven.plugins.tc.DsoArtifactResolverImpl.resolveArtifact(DsoArtifactResolverImpl.java:145) at org.terracotta.maven.plugins.tc.DsoSurefireMojo.addArtifact(DsoSurefireMojo.java:775) at org.terracotta.maven.plugins.tc.DsoSurefireMojo.constructSurefireBooter(DsoSurefireMojo.java:548) ... 3 moreCaused by: org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException: Unable to parse the Maven built-in model: Failed to interpolate field: private java.lang.Object org.apache.maven.model.ModelBase.reports on class: org.apache.maven.model.ModelBase for project org.apache.maven:super-pom at org.apache.maven.project.artifact.MavenMetadataSource.aggregateRepositoryLists(MavenMetadataSource.java:363) at org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:344) at org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:407) ... 10 moreCaused by: org.apache.maven.project.ProjectBuildingException: Failed to interpolate field: private java.lang.Object org.apache.maven.model.ModelBase.reports on class: org.apache.maven.model.ModelBase for project org.apache.maven:super-pom at org.apache.maven.project.DefaultMavenProjectBuilder.buildStandaloneSuperProject(DefaultMavenProjectBuilder.java:332) at org.apache.maven.project.artifact.MavenMetadataSource.aggregateRepositoryLists(MavenMetadataSource.java:359) ... 12 moreCaused by: org.apache.maven.project.interpolation.ModelInterpolationException: Failed to interpolate field: private java.lang.Object org.apache.maven.model.ModelBase.reports on class: org.apache.maven.model.ModelBase at org.apache.maven.project.interpolation.StringSearchModelInterpolator$InterpolateObjectAction.traverseObjectWithParents(StringSearchModelInterpolator.java:318) at org.apache.maven.project.interpolation.StringSearchModelInterpolator$InterpolateObjectAction.traverseObjectWithParents(StringSearchModelInterpolator.java:328) at org.apache.maven.project.interpolation.StringSearchModelInterpolator$InterpolateObjectAction.run(StringSearchModelInterpolator.java:135) at org.apache.maven.project.interpolation.StringSearchModelInterpolator$InterpolateObjectAction.run(StringSearchModelInterpolator.java:102) at java.security.AccessController.doPrivileged(Native Method) at org.apache.maven.project.interpolation.StringSearchModelInterpolator.interpolateObject(StringSearchModelInterpolator.java:80) at org.apache.maven.project.interpolation.StringSearchModelInterpolator.interpolate(StringSearchModelInterpolator.java:62) at org.apache.maven.project.DefaultMavenProjectBuilder.processProjectLogic(DefaultMavenProjectBuilder.java:990) at org.apache.maven.project.DefaultMavenProjectBuilder.buildStandaloneSuperProject(DefaultMavenProjectBuilder.java:324) ... 13 moreCaused by: java.lang.IllegalAccessException: Class org.apache.maven.project.interpolation.StringSearchModelInterpolator$InterpolateObjectAction can not access a member of class org.apache.maven.model.ModelBase with modifiers "private" at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:65) at java.lang.reflect.Field.doSecurityCheck(Field.java:960) at java.lang.reflect.Field.getFieldAccessor(Field.java:896) at java.lang.reflect.Field.get(Field.java:358) at org.apache.maven.project.interpolation.StringSearchModelInterpolator$InterpolateObjectAction.traverseObjectWithParents(StringSearchModelInterpolator.java:298) ... 21 more