[
https://issues.jboss.org/browse/FORGE-1532?page=com.atlassian.jira.plugin...
]
Antonio Goncalves updated FORGE-1532:
-------------------------------------
Affects Version/s: 2.0.0.Final
(was: 1.4.4.Final)
No instances of [WildcardImportResolver when executing scaffold
from-entity ~.model.*
-------------------------------------------------------------------------------------
Key: FORGE-1532
URL:
https://issues.jboss.org/browse/FORGE-1532
Project: Forge
Issue Type: Feature Request
Components: UI - Shell
Affects Versions: 2.0.0.Final
Reporter: Antonio Goncalves
Priority: Critical
Fix For: 1.x Future
After generating a few entities, I generate REST enpoints with :
{code}
rest endpoint-from-entity ~.model.*
{code}
And it's ok. Then, I scaffold the JSF pages but I get the following :
{code}
[forge144] forge144 $ scaffold setup --scaffoldType faces
***SUCCESS*** Installed [forge.spec.cdi] successfully.
***SUCCESS*** Installed [forge.spec.jsf.api] successfully.
***SUCCESS*** Installed [faces] successfully.
[forge144] forge144 $ scaffold from-entity ~.model.*
***INFO*** Skipped non-@Entity Java resource [org.test.model.Language]
***INFO*** Skipped non-@Entity Java resource [org.test.model.Person]
***INFO*** Using currently installed scaffold [faces]
***ERROR*** Exception encountered: No instances of
[org.jboss.forge.parser.spi.WildcardImportResolver] were found on the classpath. (type
"set VERBOSE true" to enable stack traces)
{code}
I get the same if I point to only one entity :
{code}
[forge144] forge144 $ scaffold from-entity ~.model.Author.java
***INFO*** Using currently installed scaffold [faces]
***ERROR*** Exception encountered: No instances of
[org.jboss.forge.parser.spi.WildcardImportResolver] were found on the classpath. (type
"set VERBOSE true" to enable stack traces)
{code}
And if I add the full path
{code}
[forge144] model $ scaffold from-entity org.test.model.Author.java
***INFO*** Using currently installed scaffold [faces]
***ERROR*** Exception encountered: No instances of
[org.jboss.forge.parser.spi.WildcardImportResolver] were found on the classpath. (type
"set VERBOSE true" to enable stack traces)
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira