[forge-issues] [JBoss JIRA] (FORGE-1998) Generating AngularJS scaffold fails with NoSuchMethodError in RestGenerationContext.setContentType(Ljava/lang/String; )
Vineet Reynolds (JIRA)
issues at jboss.org
Thu Sep 4 08:52:01 EDT 2014
[ https://issues.jboss.org/browse/FORGE-1998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12998865#comment-12998865 ]
Vineet Reynolds commented on FORGE-1998:
----------------------------------------
This is because the AngularJS addon (I suspect you have 2.1.1.Final) is not compatible with Forge 2.7.2. It needs Forge 2.8.1 or higher. We'll have to push out a newer version of the JBossTools-Forge plugin that contains compatible versions.
> Generating AngularJS scaffold fails with NoSuchMethodError in RestGenerationContext.setContentType(Ljava/lang/String;)
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: FORGE-1998
> URL: https://issues.jboss.org/browse/FORGE-1998
> Project: Forge
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Addon Development
> Affects Versions: 2.7.2.Final
> Environment: Eclipse Java EE Luna 4.4.0, MacOS 10.9.4
> Reporter: Adam Siemion
>
> Generating of AngularJS scaffold fails with:
> java.lang.NoSuchMethodError: org.jboss.forge.addon.javaee.rest.generation.RestGenerationContext.setContentType(Ljava/lang/String;)V
> Stacktrace:
> at org.jboss.forge.addon.angularjs.JSONRestResourceFromEntityCommand.createContextFor(JSONRestResourceFromEntityCommand.java:197)
> at org.jboss.forge.addon.angularjs.JSONRestResourceFromEntityCommand.execute(JSONRestResourceFromEntityCommand.java:166)
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
More information about the forge-issues
mailing list