React with html

Enonic version: 6.10.1
OS: Centos 6

Hi,

I’m creating a part with React with these files:
category-create.html
category-create.js
category-create.xml

It seems that declaring script data-th-inline=“javascript” type=“text/babel” in the category-create-html causes
Error 500: java.lang.RuntimeException: com.enonic.xp.resource.ResourceProblemException: Invalid applicationKey file key uri specification.

NOTE: This works for enonic xp version 6.4

Hi,

If I’m not mistaken we upgraded Thymeleaf 2 to 3 somewhere around XP 6.5.

I haven’t built anything in React, but I’ve seen some examples. People tend to use the asset-folder to server front-end assets that will not collide with Thymeleaf. Perhaps you can solve it that way? Not sure about this specific error message, but it looks like it has to do with something else in your code.