My Oracle Support Banner

Getting "Illegal Token" When Compiling Page (Doc ID 2823816.1)

Last updated on NOVEMBER 30, 2021

Applies to:

Oracle JDeveloper - Version 12.2.1.4.0 and later
Information in this document applies to any platform.

Symptoms

Getting "Illegal Token" when compiling page:

Compilation of JSP File '/<PACKAGE>/<PAGE>.jspx' failed:
<PAGE>.jspx:2:1: Illegal token.
<!DOCTYPE html>
^


Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.