You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by mauro2java2011 <ma...@gmail.com> on 2014/11/03 18:05:40 UTC

Re: whi the properties is not present ?

i you send a project similar created without primefaces

I have generated the web app with the tomee web app archetype.
NExdt i have tied to generate JSF  pages  from entity .
I have used the already Entity Book gnerated from the archetype of tomee
web app.

I used the netbeans wiazrd . generate JSF page from entity class .
but i get  the errors :
......................................
COMPILATION ERROR :
-------------------------------------------------------------
mauro/prove/controller/util/JsfUtil.java:[9,31] package
javax.faces.application does not exist
mauro/prove/controller/util/JsfUtil.java:[10,29] package
javax.faces.component does not exist
mauro/prove/controller/util/JsfUtil.java:[11,27] package
javax.faces.context does not exist
mauro/prove/controller/util/JsfUtil.java:[12,27] package
javax.faces.convert does not exist
mauro/prove/controller/util/JsfUtil.java:[13,25] package javax.faces.model
does not exist
mauro/prove/controller/util/JsfUtil.java:[17,19] cannot find symbol
  symbol:   class SelectItem
  location: class mauro.prove.controller.util.JsfUtil
mauro/prove/controller/util/JsfUtil.java:[60,85] cannot find symbol
  symbol:   class Converter
  location: class mauro.prove.controller.util.JsfUtil
mauro/prove/controller/util/JsfUtil.java:[60,106] cannot find symbol
  symbol:   class UIComponent
  location: class mauro.prove.controller.util.JsfUtil
mauro/prove/controller/util/JsfUtil.java:[90,62] cannot find symbol
  symbol:   class Converter
  location: class mauro.prove.controller.util.JsfUtil
mauro/prove/controller/util/JsfUtil.java:[19,9] cannot find symbol
  symbol:   class SelectItem
  location: class mauro.prove.controller.util.JsfUtil
mauro/prove/controller/util/JsfUtil.java:[19,34] cannot find symbol
  symbol:   class SelectItem
  location: class mauro.prove.controller.util.JsfUtil
mauro/prove/controller/util/JsfUtil.java:[22,28] cannot find symbol
  symbol:   class SelectItem
  location: class mauro.prove.controller.util.JsfUtil
mauro/prove/controller/util/JsfUtil.java:[26,30] cannot find symbol
  symbol:   class SelectItem
  location: class mauro.prove.controller.util.JsfUtil
mauro/prove/controller/util/JsfUtil.java:[47,9] cannot find symbol
  symbol:   class FacesMessage
  location: class mauro.prove.controller.util.JsfUtil
mauro/prove/controller/util/JsfUtil.java:[47,37] cannot find symbol
  symbol:   class FacesMessage
  location: class mauro.prove.controller.util.JsfUtil
mauro/prove/controller/util/JsfUtil.java:[47,50] cannot find symbol
  symbol:   variable FacesMessage
  location: class mauro.prove.controller.util.JsfUtil
mauro/prove/controller/util/JsfUtil.java:[48,9] cannot find symbol
  symbol:   variable FacesContext
  location: class mauro.prove.controller.util.JsfUtil
mauro/prove/controller/util/JsfUtil.java:[52,9] cannot find symbol
  symbol:   class FacesMessage
  location: class mauro.prove.controller.util.JsfUtil
mauro/prove/controller/util/JsfUtil.java:[52,37] cannot find symbol
  symbol:   class FacesMessage
  location: class mauro.prove.controller.util.JsfUtil
mauro/prove/controller/util/JsfUtil.java:[52,50] cannot find symbol
  symbol:   variable FacesMessage
  location: class mauro.prove.controller.util.JsfUtil
mauro/prove/controller/util/JsfUtil.java:[53,9] cannot find symbol
  symbol:   variable FacesContext
  location: class mauro.prove.controller.util.JsfUtil
mauro/prove/controller/util/JsfUtil.java:[57,16] cannot find symbol
  symbol:   variable FacesContext
  location: class mauro.prove.controller.util.JsfUtil
mauro/prove/controller/util/JsfUtil.java:[62,38] cannot find symbol
  symbol:   variable FacesContext
  location: class mauro.prove.controller.util.JsfUtil
mauro/prove/controller/util/JsfUtil.java:[91,38] cannot find symbol
  symbol:   variable FacesContext
  location: class mauro.prove.controller.util.JsfUtil
24 errors
-------------------------------------------------------------
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 5.377s
Finished at: Mon Nov 03 17:45:27 CET 2014
Final Memory: 11M/28M
------------------------------------------------------------------------
Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
(default-compile) on project provajsftomeejpa: Compilation failure:
Compilation failure:
mauro/prove/controller/util/JsfUtil.java:[9,31] p

mauro/prove/controller/util/JsfUtil.java:[17,19] cannot find symbol
symbol:   class SelectItem
location: class mauro.prove.controller.util.JsfUtil
mauro/prove/controller/util/JsfUtil.java:[60,85] cannot find symbol
symbol:   class Converter
location: class mauro.prove.controller.util.JsfUtil
mauro/prove/controller/util/JsfUtil.java:[60,106] cannot find symbol
symbol:   class UIComponent
location: class mauro.prove.controller.util.JsfUtil
mauro/prove/controller/util/JsfUtil.java:[90,62] cannot find symbol
symbol:   class Converter
location: class mauro.prove.controller.util.JsfUtil
mauro/prove/controller/util/JsfUtil.java:[19,9] cannot find symbol
symbol:   class SelectItem
location: class mauro.prove.controller.util.JsfUtil
mauro/prove/controller/util/JsfUtil.java:[19,34] cannot find symbol
symbol:   class SelectItem
location: class mauro.prove.controller.util.JsfUtil
mauro/prove/controller/util/JsfUtil.java:[22,28] cannot find symbol
symbol:   class SelectItem
location: class mauro.prove.controller.util.JsfUtil
mauro/prove/controller/util/JsfUtil.java:[26,30] cannot find symbol
symbol:   class SelectItem
location: class mauro.prove.controller.util.JsfUtil
mauro/prove/controller/util/JsfUtil.java:[47,9] cannot find symbol
symbol:   class FacesMessage
location: class mauro.prove.controller.util.JsfUtil
mauro/prove/controller/util/JsfUtil.java:[47,37] cannot find symbol
symbol:   class FacesMessage
location: class mauro.prove.controller.util.JsfUtil
mauro/prove/controller/util/JsfUtil.java:[47,50] cannot find symbol
symbol:   variable FacesMessage
location: class mauro.prove.controller.util.JsfUtil
mauro/prove/controller/util/JsfUtil.java:[48,9] cannot find symbol
symbol:   variable FacesContext
location: class mauro.prove.controller.util.JsfUtil
mauro/prove/controller/util/JsfUtil.java:[52,9] cannot find symbol
symbol:   class FacesMessage
location: class mauro.prove.controller.util.JsfUtil
mauro/prove/controller/util/JsfUtil.java:[52,37] cannot find symbol
symbol:   class FacesMessage
location: class mauro.prove.controller.util.JsfUtil
mauro/prove/controller/util/JsfUtil.java:[52,50] cannot find symbol
symbol:   variable FacesMessage
location: class mauro.prove.controller.util.JsfUtil
mauro/prove/controller/util/JsfUtil.java:[53,9] cannot find symbol
symbol:   variable FacesContext
location: class mauro.prove.controller.util.JsfUtil
mauro/prove/controller/util/JsfUtil.java:[57,16] cannot find symbol
symbol:   variable FacesContext
location: class mauro.prove.controller.util.JsfUtil
mauro/prove/controller/util/JsfUtil.java:[62,38] cannot find symbol
symbol:   variable FacesContext
location: class mauro.prove.controller.util.JsfUtil
mauro/prove/controller/util/JsfUtil.java:[91,38] cannot find symbol
symbol:   variable FacesContext
location: class mauro.prove.controller.util.JsfUtil
-> [Help 1]

To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.

For more information about the errors and possible solutions, please read
the following articles:
[Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
.......


.........................
whi it not found the class of JSF?
it not found into jsfUtils class the package imported:


package javax.faces.application does not exist
mauro/prove/controller/util/JsfUtil.java:[10,29] package
javax.faces.component does not exist
mauro/prove/controller/util/JsfUtil.java:[11,27] package
javax.faces.context does not exist
mauro/prove/controller/util/JsfUtil.java:[12,27] package
javax.faces.convert does not exist
mauro/prove/controller/util/JsfUtil.java:[13,25] package javax.faces.model
does not exist

........................

but the tomee web app archetype it set the depeendencied of jsf
automatically . is not true?

Please you can control my project attached ?
tank you very much
mauro
i you send the project with a wmail private because i not get a way to
publish the project into the forum .

COntrol please the provajsftomeejpa.zip
mauro


2014-10-30 22:14 GMT+01:00 Romain Manni-Bucau [via TomEE & OpenEJB] <
ml-node+s979440n4672693h58@n4.nabble.com>:

> Looks like an el issue  more than anything else. Can you reproduce it and
> share the project?
> Le 30 oct. 2014 22:03, "mauro2java2011" <[hidden email]
> <http://user/SendEmail.jtp?type=node&node=4672693&i=0>> a écrit :
>
> >
> >
> http://sourceforge.net/p/nbpfcrudgen/discussion/troubleshooting/thread/b78df076/#5b5e/e1c8
> >
> > I have tried thr netbeans cryd generator.
> > When i run the project i get a error.
> >
> > It say that yhr properties of controller is mot present.
> > the propertie came like a static class enumeration from JSFUtils class.
> >
> > I hsvr pasted a link where i have put my class controller and jsfutils.
> > The properties missing it us Persisten enumeration.
> > please like i can resolve ??
> >
> >
> >
> >
> >
> >
> > --
> > View this message in context:
> >
> http://tomee-openejb.979440.n4.nabble.com/whi-the-properties-is-not-present-tp4672692.html
> > Sent from the TomEE Users mailing list archive at Nabble.com.
> >
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://tomee-openejb.979440.n4.nabble.com/whi-the-propertie-PersistentAction-is-not-present-into-controller-tp4672692p4672693.html
>  To unsubscribe from whi the propertie PersistentAction is not present
> into controller?, click here
> <http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4672692&code=bWF1cm8yamF2YTIwMTFAZ21haWwuY29tfDQ2NzI2OTJ8LTExMTcxODc2MjU=>
> .
> NAML
> <http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>


provajsftomeejpa.zip (38K) <http://tomee-openejb.979440.n4.nabble.com/attachment/4672743/0/provajsftomeejpa.zip>




--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/whi-the-propertie-PersistentAction-is-not-present-into-controller-tp4672692p4672743.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Re: whi the properties is not present ?

Posted by Romain Manni-Bucau <rm...@gmail.com>.
I know I do typos but your mails are always very very hard to read so
please take 1 more second to re-read you if you want to keep having
answers.

Also you already have the answer: jsf api is not provided by the tomee archetype

2014-11-03 17:05 GMT+00:00 mauro2java2011 <ma...@gmail.com>:
> i you send a project similar created without primefaces
>
> I have generated the web app with the tomee web app archetype.
> NExdt i have tied to generate JSF  pages  from entity .
> I have used the already Entity Book gnerated from the archetype of tomee
> web app.
>
> I used the netbeans wiazrd . generate JSF page from entity class .
> but i get  the errors :
> ......................................
> COMPILATION ERROR :
> -------------------------------------------------------------
> mauro/prove/controller/util/JsfUtil.java:[9,31] package
> javax.faces.application does not exist
> mauro/prove/controller/util/JsfUtil.java:[10,29] package
> javax.faces.component does not exist
> mauro/prove/controller/util/JsfUtil.java:[11,27] package
> javax.faces.context does not exist
> mauro/prove/controller/util/JsfUtil.java:[12,27] package
> javax.faces.convert does not exist
> mauro/prove/controller/util/JsfUtil.java:[13,25] package javax.faces.model
> does not exist
> mauro/prove/controller/util/JsfUtil.java:[17,19] cannot find symbol
>   symbol:   class SelectItem
>   location: class mauro.prove.controller.util.JsfUtil
> mauro/prove/controller/util/JsfUtil.java:[60,85] cannot find symbol
>   symbol:   class Converter
>   location: class mauro.prove.controller.util.JsfUtil
> mauro/prove/controller/util/JsfUtil.java:[60,106] cannot find symbol
>   symbol:   class UIComponent
>   location: class mauro.prove.controller.util.JsfUtil
> mauro/prove/controller/util/JsfUtil.java:[90,62] cannot find symbol
>   symbol:   class Converter
>   location: class mauro.prove.controller.util.JsfUtil
> mauro/prove/controller/util/JsfUtil.java:[19,9] cannot find symbol
>   symbol:   class SelectItem
>   location: class mauro.prove.controller.util.JsfUtil
> mauro/prove/controller/util/JsfUtil.java:[19,34] cannot find symbol
>   symbol:   class SelectItem
>   location: class mauro.prove.controller.util.JsfUtil
> mauro/prove/controller/util/JsfUtil.java:[22,28] cannot find symbol
>   symbol:   class SelectItem
>   location: class mauro.prove.controller.util.JsfUtil
> mauro/prove/controller/util/JsfUtil.java:[26,30] cannot find symbol
>   symbol:   class SelectItem
>   location: class mauro.prove.controller.util.JsfUtil
> mauro/prove/controller/util/JsfUtil.java:[47,9] cannot find symbol
>   symbol:   class FacesMessage
>   location: class mauro.prove.controller.util.JsfUtil
> mauro/prove/controller/util/JsfUtil.java:[47,37] cannot find symbol
>   symbol:   class FacesMessage
>   location: class mauro.prove.controller.util.JsfUtil
> mauro/prove/controller/util/JsfUtil.java:[47,50] cannot find symbol
>   symbol:   variable FacesMessage
>   location: class mauro.prove.controller.util.JsfUtil
> mauro/prove/controller/util/JsfUtil.java:[48,9] cannot find symbol
>   symbol:   variable FacesContext
>   location: class mauro.prove.controller.util.JsfUtil
> mauro/prove/controller/util/JsfUtil.java:[52,9] cannot find symbol
>   symbol:   class FacesMessage
>   location: class mauro.prove.controller.util.JsfUtil
> mauro/prove/controller/util/JsfUtil.java:[52,37] cannot find symbol
>   symbol:   class FacesMessage
>   location: class mauro.prove.controller.util.JsfUtil
> mauro/prove/controller/util/JsfUtil.java:[52,50] cannot find symbol
>   symbol:   variable FacesMessage
>   location: class mauro.prove.controller.util.JsfUtil
> mauro/prove/controller/util/JsfUtil.java:[53,9] cannot find symbol
>   symbol:   variable FacesContext
>   location: class mauro.prove.controller.util.JsfUtil
> mauro/prove/controller/util/JsfUtil.java:[57,16] cannot find symbol
>   symbol:   variable FacesContext
>   location: class mauro.prove.controller.util.JsfUtil
> mauro/prove/controller/util/JsfUtil.java:[62,38] cannot find symbol
>   symbol:   variable FacesContext
>   location: class mauro.prove.controller.util.JsfUtil
> mauro/prove/controller/util/JsfUtil.java:[91,38] cannot find symbol
>   symbol:   variable FacesContext
>   location: class mauro.prove.controller.util.JsfUtil
> 24 errors
> -------------------------------------------------------------
> ------------------------------------------------------------------------
> BUILD FAILURE
> ------------------------------------------------------------------------
> Total time: 5.377s
> Finished at: Mon Nov 03 17:45:27 CET 2014
> Final Memory: 11M/28M
> ------------------------------------------------------------------------
> Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
> (default-compile) on project provajsftomeejpa: Compilation failure:
> Compilation failure:
> mauro/prove/controller/util/JsfUtil.java:[9,31] p
>
> mauro/prove/controller/util/JsfUtil.java:[17,19] cannot find symbol
> symbol:   class SelectItem
> location: class mauro.prove.controller.util.JsfUtil
> mauro/prove/controller/util/JsfUtil.java:[60,85] cannot find symbol
> symbol:   class Converter
> location: class mauro.prove.controller.util.JsfUtil
> mauro/prove/controller/util/JsfUtil.java:[60,106] cannot find symbol
> symbol:   class UIComponent
> location: class mauro.prove.controller.util.JsfUtil
> mauro/prove/controller/util/JsfUtil.java:[90,62] cannot find symbol
> symbol:   class Converter
> location: class mauro.prove.controller.util.JsfUtil
> mauro/prove/controller/util/JsfUtil.java:[19,9] cannot find symbol
> symbol:   class SelectItem
> location: class mauro.prove.controller.util.JsfUtil
> mauro/prove/controller/util/JsfUtil.java:[19,34] cannot find symbol
> symbol:   class SelectItem
> location: class mauro.prove.controller.util.JsfUtil
> mauro/prove/controller/util/JsfUtil.java:[22,28] cannot find symbol
> symbol:   class SelectItem
> location: class mauro.prove.controller.util.JsfUtil
> mauro/prove/controller/util/JsfUtil.java:[26,30] cannot find symbol
> symbol:   class SelectItem
> location: class mauro.prove.controller.util.JsfUtil
> mauro/prove/controller/util/JsfUtil.java:[47,9] cannot find symbol
> symbol:   class FacesMessage
> location: class mauro.prove.controller.util.JsfUtil
> mauro/prove/controller/util/JsfUtil.java:[47,37] cannot find symbol
> symbol:   class FacesMessage
> location: class mauro.prove.controller.util.JsfUtil
> mauro/prove/controller/util/JsfUtil.java:[47,50] cannot find symbol
> symbol:   variable FacesMessage
> location: class mauro.prove.controller.util.JsfUtil
> mauro/prove/controller/util/JsfUtil.java:[48,9] cannot find symbol
> symbol:   variable FacesContext
> location: class mauro.prove.controller.util.JsfUtil
> mauro/prove/controller/util/JsfUtil.java:[52,9] cannot find symbol
> symbol:   class FacesMessage
> location: class mauro.prove.controller.util.JsfUtil
> mauro/prove/controller/util/JsfUtil.java:[52,37] cannot find symbol
> symbol:   class FacesMessage
> location: class mauro.prove.controller.util.JsfUtil
> mauro/prove/controller/util/JsfUtil.java:[52,50] cannot find symbol
> symbol:   variable FacesMessage
> location: class mauro.prove.controller.util.JsfUtil
> mauro/prove/controller/util/JsfUtil.java:[53,9] cannot find symbol
> symbol:   variable FacesContext
> location: class mauro.prove.controller.util.JsfUtil
> mauro/prove/controller/util/JsfUtil.java:[57,16] cannot find symbol
> symbol:   variable FacesContext
> location: class mauro.prove.controller.util.JsfUtil
> mauro/prove/controller/util/JsfUtil.java:[62,38] cannot find symbol
> symbol:   variable FacesContext
> location: class mauro.prove.controller.util.JsfUtil
> mauro/prove/controller/util/JsfUtil.java:[91,38] cannot find symbol
> symbol:   variable FacesContext
> location: class mauro.prove.controller.util.JsfUtil
> -> [Help 1]
>
> To see the full stack trace of the errors, re-run Maven with the -e switch.
> Re-run Maven using the -X switch to enable full debug logging.
>
> For more information about the errors and possible solutions, please read
> the following articles:
> [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> .......
>
>
> .........................
> whi it not found the class of JSF?
> it not found into jsfUtils class the package imported:
>
>
> package javax.faces.application does not exist
> mauro/prove/controller/util/JsfUtil.java:[10,29] package
> javax.faces.component does not exist
> mauro/prove/controller/util/JsfUtil.java:[11,27] package
> javax.faces.context does not exist
> mauro/prove/controller/util/JsfUtil.java:[12,27] package
> javax.faces.convert does not exist
> mauro/prove/controller/util/JsfUtil.java:[13,25] package javax.faces.model
> does not exist
>
> ........................
>
> but the tomee web app archetype it set the depeendencied of jsf
> automatically . is not true?
>
> Please you can control my project attached ?
> tank you very much
> mauro
> i you send the project with a wmail private because i not get a way to
> publish the project into the forum .
>
> COntrol please the provajsftomeejpa.zip
> mauro
>
>
> 2014-10-30 22:14 GMT+01:00 Romain Manni-Bucau [via TomEE & OpenEJB] <
> ml-node+s979440n4672693h58@n4.nabble.com>:
>
>> Looks like an el issue  more than anything else. Can you reproduce it and
>> share the project?
>> Le 30 oct. 2014 22:03, "mauro2java2011" <[hidden email]
>> <http://user/SendEmail.jtp?type=node&node=4672693&i=0>> a écrit :
>>
>> >
>> >
>> http://sourceforge.net/p/nbpfcrudgen/discussion/troubleshooting/thread/b78df076/#5b5e/e1c8
>> >
>> > I have tried thr netbeans cryd generator.
>> > When i run the project i get a error.
>> >
>> > It say that yhr properties of controller is mot present.
>> > the propertie came like a static class enumeration from JSFUtils class.
>> >
>> > I hsvr pasted a link where i have put my class controller and jsfutils.
>> > The properties missing it us Persisten enumeration.
>> > please like i can resolve ??
>> >
>> >
>> >
>> >
>> >
>> >
>> > --
>> > View this message in context:
>> >
>> http://tomee-openejb.979440.n4.nabble.com/whi-the-properties-is-not-present-tp4672692.html
>> > Sent from the TomEE Users mailing list archive at Nabble.com.
>> >
>>
>>
>> ------------------------------
>>  If you reply to this email, your message will be added to the discussion
>> below:
>>
>> http://tomee-openejb.979440.n4.nabble.com/whi-the-propertie-PersistentAction-is-not-present-into-controller-tp4672692p4672693.html
>>  To unsubscribe from whi the propertie PersistentAction is not present
>> into controller?, click here
>> <http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4672692&code=bWF1cm8yamF2YTIwMTFAZ21haWwuY29tfDQ2NzI2OTJ8LTExMTcxODc2MjU=>
>> .
>> NAML
>> <http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
>
> provajsftomeejpa.zip (38K) <http://tomee-openejb.979440.n4.nabble.com/attachment/4672743/0/provajsftomeejpa.zip>
>
>
>
>
> --
> View this message in context: http://tomee-openejb.979440.n4.nabble.com/whi-the-propertie-PersistentAction-is-not-present-into-controller-tp4672692p4672743.html
> Sent from the TomEE Users mailing list archive at Nabble.com.