Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-29207

Updating Maven Project failure for simple project, clean install

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.30.x
    • 4.29.1.Final
    • cdi, jsf, maven
    • None
    • ---

      Description of problem:

      No solution

      Prerequisites (if any, like setup, operators/versions):

      Clean install eclipse on linux from archive. jee 2024-06 (4.32.0) and jboss tools 4.29.1. Defaul jre from eclipse.

      Steps to Reproduce

       # open the project or maven update

      Actual results:

      Stack trace attached , code completion not working

      Expected results:

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Acceptance criteria: 

       

      Definition of Done:

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

       

       *

      eclipse.buildId=4.32.0.20240606-1231java.version=21.0.3java.vendor=Eclipse AdoptiumBootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_USFramework arguments:  -product org.eclipse.epp.package.jee.productCommand-line arguments:  -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product
      org.eclipse.core.jobsErrorWed Jul 10 17:27:30 EEST 2024An internal error occurred during: "Updating Maven Project".
      java.lang.ClassCastException: class org.eclipse.jdt.internal.core.JavaNature cannot be cast to class org.eclipse.jdt.core.IJavaProject (org.eclipse.jdt.internal.core.JavaNature and org.eclipse.jdt.core.IJavaProject are in unnamed module of loader org.eclipse.osgi.internal.loader.EquinoxClassLoader @242b32f7)	at org.jboss.tools.quarkus.lsp4e.internal.qute.QuteProjectListener.configureProject(QuteProjectListener.java:101)	at org.jboss.tools.quarkus.lsp4e.internal.qute.QuteProjectListener.handleEvent(QuteProjectListener.java:152)	at org.eclipse.core.internal.resources.Workspace.broadcastEvent(Workspace.java:453)	at org.eclipse.core.internal.resources.Resource.refreshLocal(Resource.java:1600)	at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.updateProjectConfiguration0(ProjectConfigurationManager.java:373)	at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.lambda$3(ProjectConfigurationManager.java:340)	at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:458)	at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:339)	at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:278)	at org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:1053)	at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.updateProjectConfiguration(ProjectConfigurationManager.java:339)	at org.eclipse.m2e.core.ui.internal.UpdateMavenProjectJob.runInWorkspace(UpdateMavenProjectJob.java:80)	at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:43)	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
      

              stephane.bouchet Stephane Bouchet
              grigoras.cristinel Grigoras Cristinel (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: