Cannot create HTML page (Mac OS)

Hi all,

When creating a HTML page using a HTML template, I get this error:

Cannot create HTML
This template did not produce a Java class or an interface
package PACKAGE_NAME;
public html payment-error.html { }

3 comments
Comment actions Permalink

Hello Erik,

Please make sure that the extension of your template is specified as "html"
and not "java".

Hi all,

When creating a HTML page using a HTML template, I get this error:

Cannot create HTML
This template did not produce a Java class or an interface
package PACKAGE_NAME;
public html payment-error.html { }

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Well, it's not 'my' template, it's standard IntelliJ stuff. AFAIK, I'm using the default templates. But I'll check the settings tomorrow.

0
Comment actions Permalink

I see what's going on... the HTML and xHTML templates are just messed up. Like I said: I didn't change them, nor can I reset it to default (It's greyed out.). Actually, when changing the template, the reset to default icon stays greyed out. The template looks like this, which is, IMO, completely wrong:

html:
package $; public html $ { } xhtml: package $;
public xhtml $ { }

0

Please sign in to leave a comment.