Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Error While validating XHTML Files in Eclipse OEPE (Mars & Neon)

LittlePenguinJul 13 2016 — edited Aug 24 2016

I'm suffering the error explained in this question of Stackoverflow.

Summarizing, when validating an xhtml or an entire dynamic webproject a window error appear with the error:

"An internal error occurred during: "Validating".

Could not initialize class org.apache.myfaces.shared.config.MyfacesConfig"

In Stackoverflow they correct a MANIFEST.MF file located inside a jar (I think in Neon must be plugins/oracle.eclipse.tools.webtier.jsf.facelet_15.7.1.201606271248.jar)

The problem is the solution explained in Stackoverflow doesn't solve my error.

I have also tried to edit manually the MANIFEST.MF of the jar and delete the text ".tests" of all packages.

I'm using:

  -oepe-12.2.1.3-neon-distro-linux-gtk-x86_64 (Eclipse Version: Neon (4.6) Build id: I20160606-1100, oepe plugin version 15.7.1.201606271248)

  -Java 1.8.0_65-b17

In the past I had the same problem with Eclipse Mars

This post has been answered by Ian Trimble-Oracle on Aug 10 2016
Jump to Answer

Comments

John JB Brock-Oracle

This looks like you might have a mismatched version of JET and the CSS libraries.  Have you done a recent update to a newer version of JET?

2922550

There is no version difference between JET and CSS. I am using JET 5.1. I heard from the neighbor team that we need an entry in the web.xml for svg images. is there any such entry and is that resolves the issue? It seems the browser compatibility issue for me.

John JB Brock-Oracle

JET definitely uses svg sprites for our icons. I'm not familiar with your deployment environment and what may or may not be needed in the web.xml file for your deployment.  It would not be any different from what your would find with an Internet search for including svg content with your app server.  JET isn't doing anything special here.

2922550

It is resolved automatically, it seems environment issue.

1 - 4
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Sep 7 2016
Added on Jul 13 2016
14 comments
5,137 views