Skip to main content



      Home
Home » Newcomers » Newcomers » Eclipse IDE throws errors on JSX script(Errors thrown on ReactJS script in JSX in Eclipse when using Web Project)
Eclipse IDE throws errors on JSX script [message #1855111] Wed, 28 September 2022 18:17 Go to next message
Eclipse UserFriend
I am creating a small web project in Eclipse using Java with Spring Framework. The apps work just fine, however, my front-end ReactJS scripts throw errors in Eclipse whenever JSX is used instead of the traditional Javascript format. The errors don't impede in functionality either within Eclipse nor in the browser, but they are annoying.

I have tried refreshing the project, cleaning the project, rebuilding the project, and closing and reopening Eclipse, all to no avail.

I keep getting "Missing semicolon" and other errors. I am also unable to alter the Javascript Validator to turn off all error handling for Javascript for my web project.

Has anyone else ever run into this? Any ideas as to what to do?

Thanks
Re: Eclipse IDE throws errors on JSX script [message #1855112 is a reply to message #1855111] Wed, 28 September 2022 18:58 Go to previous messageGo to next message
Eclipse UserFriend
The JavaScript Editor and Validator have never supported JSX, but the editor is not in current releases. In which editor are you opening your files?

[Updated on: Wed, 28 September 2022 19:00] by Moderator

Re: Eclipse IDE throws errors on JSX script [message #1855128 is a reply to message #1855111] Thu, 29 September 2022 07:17 Go to previous message
Eclipse UserFriend
We have exactly the same problem.
This is the IDE version we are using:

Eclipse IDE for Enterprise Java and Web Developers (includes Incubating components)

Version: 2022-06 (4.24.0)
Build id: 20220609-1112


Which plugin is needed in Eclipse to make sure that these java script files are compiled without errors?

Previous Topic:Debugging javascript, html with Firefox Developer Edition
Next Topic:Wildfly Management API
Goto Forum:
  


Current Time: Sat May 10 22:08:24 EDT 2025

Powered by FUDForum. Page generated in 0.07692 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top