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 { }
Please sign in to leave a comment.
Hello Erik,
Please make sure that the extension of your template is specified as "html"
and not "java".
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
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.
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 $ { }