JSP749
JSP749

Reputation: 137

Project not deploying due to "Project facet Java 1.7 is not supported by this server."

I am having trouble trying to deploy a WAR project on Oracle Weblogic Server 11gR1 (10.3.5), tried both to deploy it in an EAR project, or by itself as a war.

The error I get is this:

"Project facet Java 1.7 is not supported by this server."

The problem is that there is no Project Facet Java 1.7 in this project. The facets selected are this:

I only have JRE6 installed in eclipse and I'm using it as default.

Other projects are deploying succesfully.

I found a workaround, deploying the EAR empty, and then adding the WAR project to the EAR. But in that case I get other problems at runtime which shouldn't be happening, I guess caused by the tricky solution.

Any ideas?

Thank you.

Upvotes: 0

Views: 6023

Answers (2)

JSP749
JSP749

Reputation: 137

I just solved the issue, I had java project facet 1.7 in a project included in the war.

Upvotes: 2

Anders R. Bystrup
Anders R. Bystrup

Reputation: 16080

Weblogic 10.3.5 only supports JDK6. If you want to use JDK 7, you'll need version 10.3.6 as outlined here (10.3.5) and here (10.3.6).

Cheers,

Upvotes: 1

Related Questions