I am confused..
But if the tomeewebapp archetype not reference myfaces-api how it is
possible that the web project  generated from archetype run and show the
pages ?

It not work only if i add other class..
Il 03/nov/2014 18:47 "Romain Manni-Bucau [via TomEE & OpenEJB]" <
ml-node+s979440n4672747...@n4.nabble.com> ha scritto:

> 2.1.16
>
>
> Romain Manni-Bucau
> @rmannibucau
> http://www.tomitribe.com
> http://rmannibucau.wordpress.com
> https://github.com/rmannibucau
>
>
> 2014-11-03 17:39 GMT+00:00 mauro2java2011 <[hidden email]
> <http://user/SendEmail.jtp?type=node&node=4672747&i=0>>:
>
> > i h ave to add :
> >
> > <dependency>
> >       <groupId>org.apache.myfaces.core</groupId>
> >       <artifactId>myfaces-api</artifactId>
> >       <version>2.2.3</version>
> >       <type>jar</type>
> >        <scope>provided</scope>
> >     </dependency>
> >
> > it is ok?
> >
> > 2014-11-03 17:58 GMT+01:00 Romain Manni-Bucau-2 [via TomEE & OpenEJB] <
> > [hidden email] <http://user/SendEmail.jtp?type=node&node=4672747&i=1>>:
> >
> >> Hi
> >>
> >> that's because the archetype doesn't reference myfaces-api. Just add
> it.
> >> Romain Manni-Bucau
> >> Twitter: @rmannibucau
> >> Blog: http://rmannibucau.wordpress.com/
> >> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> >> Github: https://github.com/rmannibucau
> >>
> >>
> >>
> >> 2014-11-03 16:52 GMT+00:00 mauro2java2011 <[hidden email]
> >> <http://user/SendEmail.jtp?type=node&node=4672742&i=0>>:
> >>
> >> > i have tried to create a jsf application with the tomee archetype.
> >> > i use netbeans 8.0.1 .
> >> >
> >> > I have use the entity Book already present after generation of web
> >> project
> >> > with the archetype .
> >> > I have tired to gnerate jsf page from entity ,.
> >> >
> >> > the pages created fro mwizard of netbeans i have put into pagine dir
> .
> >> > NEtbeans has create also the JSFUtils class into  package
> >> > mauro.prove.controller.util;
> >> >
> >> > it has creates a also EJB facade called BookFacade .
> >> > But when i tye to compile i get:
> >> >
> >> > ..............
> >> > 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] 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
> >> > -> [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
> >> > .......
> >> >
> >> >
> >> > i have tried to create a jsf page
> >> > with the
> >> >
> >> >
> >> >
> >> > --
> >> > View this message in context:
> >>
> http://tomee-openejb.979440.n4.nabble.com/error-at-compilation-time-tp4672741.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/error-at-compilation-time-tp4672741p4672742.html
> >>  To unsubscribe from error at compilation time ., click here
> >> <
> >> .
> >> 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>
>
> >>
> >
> >
> >
> >
> > --
> > View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/error-at-compilation-time-tp4672741p4672746.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/error-at-compilation-time-tp4672741p4672747.html
>  To unsubscribe from error at compilation time ., click here
> <http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4672741&code=bWF1cm8yamF2YTIwMTFAZ21haWwuY29tfDQ2NzI3NDF8LTExMTcxODc2MjU=>
> .
> 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>
>




--
View this message in context: 
http://tomee-openejb.979440.n4.nabble.com/error-at-compilation-time-tp4672741p4672748.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to