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

OpenShift application has no Java Version specified, facets requires Java 1.6

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Critical Critical
    • None
    • 3.3.0.M5
    • openshift
    • None

      Newly created application contains this error:
      "Dynamic Web Module 3.0 requires Java 1.6 or newer." and no facets are selected (except JBoss Maven Integration)

      After adding

      <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-compiler-plugin</artifactId>
      <version>2.0.2</version>
      <configuration>
      <source>1.6</source>
      <target>1.6</target>
      </configuration>
      </plugin>

      to pom.xml and updating maven project configuration, dynamic web module and other facets were ok.

      Maybe you can add this to OpensShift Maven profile.

            adietish@redhat.com André Dietisheim
            sbunciak-rh Stefan Bunciak
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: