[forge-issues] [JBoss JIRA] (FORGE-2624) Warnings in JBDS after generating forge-from-scratch quickstart

George Gastaldi (JIRA) issues at jboss.org
Mon Mar 28 13:54:00 EDT 2016


    [ https://issues.jboss.org/browse/FORGE-2624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13182552#comment-13182552 ] 

George Gastaldi commented on FORGE-2624:
----------------------------------------

On a second thought, I don't see a problem in having 1L as the initial value for serialVersionUID. 
I implemented a command that generates the serialVersionUID based on what's returned in {{java.io.ObjectStreamClass.lookup(Class<?>).getSerialVersionUID()}} if people want to have it calculated nevertheless

> Warnings in JBDS after generating forge-from-scratch quickstart
> ---------------------------------------------------------------
>
>                 Key: FORGE-2624
>                 URL: https://issues.jboss.org/browse/FORGE-2624
>             Project: Forge
>          Issue Type: Bug
>          Components: Java EE
>            Reporter: Sande Gilda
>            Priority: Minor
>
> After running {{run generate.fsh}}, the generated JBDS project has multiple warnings:
> * The serializable class Address does not declare a static final serialVersionUID field of type long
> * The serializable class Customer does not declare a static final serialVersionUID field of type long
> * The serializable class Item does not declare a static final serialVersionUID field of type long
> * The serializable class ProductOrder does not declare a static final serialVersionUID field of type long
> * The serializable class Profile does not declare a static final serialVersionUID field of type long	
> * The serializable class ZipCode does not declare a static final serialVersionUID field of type long
> * location references to "/faces/error.xhtml" that does not exist in web content



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the forge-issues mailing list