You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After importing an Eclipse project prepared by the Initializr into the Eclipse IDE, Eclipse reports a java error in the ready to use application controller class.
To work out this, I found there's a couple of extra manual steps:
Adding org.eclipse.m2e.apt.mode=jdt_apt to the ./common/.settings/org.eclipse.m2e.apt.prefs
Adding target/generated-sources/rad-views to the .classpath
These could be generated by the Initializr.
The text was updated successfully, but these errors were encountered:
Here is the .classpath (mind the JRE that is specific to my env) classpath.txt
In the common/.settings directory, org.eclipse.jdt.apt.core.prefs and org.eclipse.m2e.apt.prefs: prefs.zip
I don't think the other .prefs files are needed but if so, just ask.
shannah
added a commit
to shannah/cn1-maven-archetypes
that referenced
this issue
Oct 21, 2023
Thanks for sharing.
This is a bit involved to get this to automatically generate this in the initializr. As a half-measure, I've added a note to the documentation for CodeRAD:
I have added the same note to the default project readme for maven projects in the archetype, which will start appearing in projects starting next release.
Really appreciate you sharing as this will likely help many other users get started with CN1.
After importing an Eclipse project prepared by the Initializr into the Eclipse IDE, Eclipse reports a java error in the ready to use application controller class.
![image](https://private-user-images.githubusercontent.com/6052513/259364987-62244af9-dc25-406a-995e-b6d576063722.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5MTIwMTIsIm5iZiI6MTczODkxMTcxMiwicGF0aCI6Ii82MDUyNTEzLzI1OTM2NDk4Ny02MjI0NGFmOS1kYzI1LTQwNmEtOTk1ZS1iNmQ1NzYwNjM3MjIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDdUMDcwMTUyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NzVkODBkY2RhMGVlYTdjMDE5OTUzNTQ5MzhiNzcxNzg3OGIyYTUwNmE2YjZmYmJlMGUwODY5OGMxMGFjNzliYiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.oXr0R6GJvakNQ8Hmk9LvdY_I9_cfvyhcpEqEJvO-cZs)
To work out this, I found there's a couple of extra manual steps:
Adding org.eclipse.m2e.apt.mode=jdt_apt to the ./common/.settings/org.eclipse.m2e.apt.prefs
![image](https://private-user-images.githubusercontent.com/6052513/259366324-23719e4a-57cd-4f3c-846b-5e0b01b1a6f4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5MTIwMTIsIm5iZiI6MTczODkxMTcxMiwicGF0aCI6Ii82MDUyNTEzLzI1OTM2NjMyNC0yMzcxOWU0YS01N2NkLTRmM2MtODQ2Yi01ZTBiMDFiMWE2ZjQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDdUMDcwMTUyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9Y2Y1NTk1ZDY3NTFiZTc0MzliNjZhOWE4YmExYjQ5MTg2YTRiNzVkMDQxYWM5NTIwMjNiY2YxYjg1MGNjOGM5OCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.-duZmg6d888s0ta4md_a3FymqbFpicw2GupBx87-dok)
Adding target/generated-sources/rad-views to the .classpath
![image](https://private-user-images.githubusercontent.com/6052513/259368060-eaf9a48e-3adf-4d63-9851-28881a442b61.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5MTIwMTIsIm5iZiI6MTczODkxMTcxMiwicGF0aCI6Ii82MDUyNTEzLzI1OTM2ODA2MC1lYWY5YTQ4ZS0zYWRmLTRkNjMtOTg1MS0yODg4MWE0NDJiNjEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDdUMDcwMTUyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZTQxYzVlMDdmOGYyNmFhMTQyMTViNDUzNTRlOWViMjAxMDUxOTNlOTJjNjdmNzkwOTY0ZDFkYjZjNDJkNjc0OCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.SBndeQjTCTFvlxbpTjcvCYHW4DBnq3kzqbNHdccBIqI)
These could be generated by the Initializr.
The text was updated successfully, but these errors were encountered: