Re: problems running project on jetty

2007-01-11 Thread bendg

I have been struggling with this problem for a couple of days now, any ideas?

[ERROR] BUILD ERROR
[INFO]

[INFO] The plugin 'org.codehaus.mojo:jetty-maven-plugin' does not exist or
no valid version could be found

I tried adding:

plugin
groupIdorg.codehaus.mojo/groupId
artifactIdjetty-maven-plugin/artifactId
/plugin

But to no avail..

Any ideas?
-- 
View this message in context: 
http://www.nabble.com/problems-running-project-on-jetty-tf2239041s177.html#a8276385
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: problems running project on jetty

2007-01-11 Thread Mark Hobson

On 11/01/07, bendg [EMAIL PROTECTED] wrote:

I have been struggling with this problem for a couple of days now, any ideas?

[ERROR] BUILD ERROR
[INFO]

[INFO] The plugin 'org.codehaus.mojo:jetty-maven-plugin' does not exist or
no valid version could be found

I tried adding:

plugin
groupIdorg.codehaus.mojo/groupId
artifactIdjetty-maven-plugin/artifactId
/plugin

But to no avail..

Any ideas?


Perhaps using the correct groupId?

http://jetty.mortbay.org/maven-plugin/howto.html

Mark

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: problems running project on jetty

2007-01-11 Thread bendg

Thanks - this works a treat...



Mark Hobson wrote:
 
 On 11/01/07, bendg [EMAIL PROTECTED] wrote:
 I have been struggling with this problem for a couple of days now, any
 ideas?

 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] The plugin 'org.codehaus.mojo:jetty-maven-plugin' does not exist
 or
 no valid version could be found

 I tried adding:

 plugin
 groupIdorg.codehaus.mojo/groupId
 artifactIdjetty-maven-plugin/artifactId
 /plugin

 But to no avail..

 Any ideas?
 
 Perhaps using the correct groupId?
 
 http://jetty.mortbay.org/maven-plugin/howto.html
 
 Mark
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/problems-running-project-on-jetty-tf2239041s177.html#a8276653
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: problems running project on jetty

2006-09-10 Thread wlfshmn

Greetings,

I experience the same problem using putty6 with a myfaces project using core
and tomahawk, but not ADF.

My project runs fine if deployed on tomcat5.5 however. I suspect there is a
problem with regards to how jetty locates myfaces jars, as the jetty page
has instructions to put hem in jetty's ext folder, as per 
http://docs.codehaus.org/display/JETTY/MyFaces
http://docs.codehaus.org/display/JETTY/MyFaces , yet I don't see how to get
hte jetty maven plugin to assist me in this.

Anyone with ideas?

Johan


dudu wrote:
 
 Thanks Wayne...
 
 the message error is not found on google :(.
 I have removed all dependencies and putted again, but without sucess.
 If I try with the jars on my pc, it works. I think there are a problem
 with
 the jars on mvn repository, like calling wrong dependencies  or wrong
 versions of it.
 
 
 On 9/8/06, Wayne Fay [EMAIL PROTECTED] wrote:

 This seems like a JSF problem, not really a Maven issue per se.

 I'd send a similar email (minus the pom) to a couple JSF groups and
 see what they say about it.

 Also I'd try deploying your app to another app server to see if
 perhaps its simply a Jetty bug.

 Wayne

 On 9/8/06, Dudu [EMAIL PROTECTED] wrote:
  I don't know what to do...
  i'm migrating my project to maven, but always happen a problem with
  dependencies...
  I'm using adf faces, tomahawk and Sun RI.
  To corrige this error, I'm trying to add some libraries...
 
  This is the error:
  HTTP ERROR: 500
 
  /sag/index.jspx(47,19) PWC6317: The attributes for a standard action
  cannot be deferred expressions
 
  RequestURI=/SagWeb/sag/index.jspx
 
  *Powered by Jetty:// http://jetty.mortbay.org/*
 
  My index.jspx is this:
  ?xml version='1.0' encoding='windows-1252'?
  jsp:root xmlns:jsp=http://java.sun.com/JSP/Page; version=2.0
   xmlns:h=http://java.sun.com/jsf/html;
   xmlns:f=http://java.sun.com/jsf/core;
   xmlns:af=http://xmlns.oracle.com/adf/faces;
   xmlns:afh=http://xmlns.oracle.com/adf/faces/html;
   xmlns:x=http://myfaces.apache.org/tomahawk;
   jsp:directive.page contentType=text/html;charset=windows-1252/
   f:view
 afh:html
   f:loadBundle basename=br.com.sag.view.backing.messages
 var=msg/
   afh:head title=#{msg.nomeAplicacao} - #{
 usuario.currentModule.nome
  }
 link href=../css/sag.css rel=stylesheet media=screen/
 afh:script source=/js/indexCode.js/
 afh:script source=/js/indexRefreshCondicoes.js/
   /afh:head
   afh:body id=body
 af:panelPage id=panelPage1
   f:facet name=menu2/f:facet
   f:facet name=infoUser/f:facet
   f:facet name=messages/f:facet
   f:facet name=search/f:facet
   f:facet name=actions/f:facet
   f:facet name=brandingAppContextual
 x:jscookMenu layout=hbr theme=ThemeOffice
   binding=#{backing_sag_index.jscookMenu1}
   id=jscookMenu1
   x:navigationMenuItems
  binding=#{backing_sag_index.navigationMenuItems1}
  id=navigationMenuItems1
  value=#{backing_sag_index.menu}/
 /x:jscookMenu
   /f:facet
   f:facet name=contextSwitcher/f:facet
   f:facet name=infoFootnote/f:facet
   f:facet name=infoReturn/f:facet
   f:facet name=infoStatus
 
af:goLink  destination=#ERRO
 rendered=#{backing_sag_pohecamp2.hasErrors}
 id=vailink

 h:graphicImage
 id=erro
 style=BORDER:0
 url=/css/images/alerta.gif
 title=#{msg.msgExisteErro}
 /
 h:outputText value=#{msg.msgErro}/
   /af:goLink
   /f:facet
   f:facet name=infoSupplemental/f:facet
   f:facet name=location/f:facet
   f:facet name=menu1/f:facet
   f:facet name=menuGlobal
 h:panelGroup
   af:outputText value=Usuário:  styleClass=x19/
   af:outputLabel value=#{usuario.nome} styleClass=x19/
 /h:panelGroup
   /f:facet
   f:facet name=branding/f:facet
   f:facet name=brandingApp/f:facet
   f:facet name=appCopyright
 f:verbatimCopyright/f:verbatim
   /f:facet
   f:facet name=appPrivacy
 f:verbatimPrivacidade/f:verbatim
   /f:facet
   f:facet name=appAbout
 f:verbatimSobre/f:verbatim
   /f:facet
   f:facet name=menuSwitch
 af:form
   af:commandLink text=Trocar módulo 
   shortDesc=Entrar em outro módulo do SAG
   rendered=#{usuario.codfprod == null}
   immediate=true
 
  action=#{backing_sag_index.actionSwitchModule}/
   

Re: problems running project on jetty

2006-09-08 Thread Wayne Fay

This seems like a JSF problem, not really a Maven issue per se.

I'd send a similar email (minus the pom) to a couple JSF groups and
see what they say about it.

Also I'd try deploying your app to another app server to see if
perhaps its simply a Jetty bug.

Wayne

On 9/8/06, Dudu [EMAIL PROTECTED] wrote:

I don't know what to do...
i'm migrating my project to maven, but always happen a problem with
dependencies...
I'm using adf faces, tomahawk and Sun RI.
To corrige this error, I'm trying to add some libraries...

This is the error:
HTTP ERROR: 500

/sag/index.jspx(47,19) PWC6317: The attributes for a standard action
cannot be deferred expressions

RequestURI=/SagWeb/sag/index.jspx

*Powered by Jetty:// http://jetty.mortbay.org/*

My index.jspx is this:
?xml version='1.0' encoding='windows-1252'?
jsp:root xmlns:jsp=http://java.sun.com/JSP/Page; version=2.0
 xmlns:h=http://java.sun.com/jsf/html;
 xmlns:f=http://java.sun.com/jsf/core;
 xmlns:af=http://xmlns.oracle.com/adf/faces;
 xmlns:afh=http://xmlns.oracle.com/adf/faces/html;
 xmlns:x=http://myfaces.apache.org/tomahawk;
 jsp:directive.page contentType=text/html;charset=windows-1252/
 f:view
   afh:html
 f:loadBundle basename=br.com.sag.view.backing.messages var=msg/
 afh:head title=#{msg.nomeAplicacao} - #{usuario.currentModule.nome
}
   link href=../css/sag.css rel=stylesheet media=screen/
   afh:script source=/js/indexCode.js/
   afh:script source=/js/indexRefreshCondicoes.js/
 /afh:head
 afh:body id=body
   af:panelPage id=panelPage1
 f:facet name=menu2/f:facet
 f:facet name=infoUser/f:facet
 f:facet name=messages/f:facet
 f:facet name=search/f:facet
 f:facet name=actions/f:facet
 f:facet name=brandingAppContextual
   x:jscookMenu layout=hbr theme=ThemeOffice
 binding=#{backing_sag_index.jscookMenu1}
 id=jscookMenu1
 x:navigationMenuItems
binding=#{backing_sag_index.navigationMenuItems1}
id=navigationMenuItems1
value=#{backing_sag_index.menu}/
   /x:jscookMenu
 /f:facet
 f:facet name=contextSwitcher/f:facet
 f:facet name=infoFootnote/f:facet
 f:facet name=infoReturn/f:facet
 f:facet name=infoStatus

  af:goLink  destination=#ERRO
   rendered=#{backing_sag_pohecamp2.hasErrors}
   id=vailink
  
   h:graphicImage
   id=erro
   style=BORDER:0
   url=/css/images/alerta.gif
   title=#{msg.msgExisteErro}
   /
   h:outputText value=#{msg.msgErro}/
 /af:goLink
 /f:facet
 f:facet name=infoSupplemental/f:facet
 f:facet name=location/f:facet
 f:facet name=menu1/f:facet
 f:facet name=menuGlobal
   h:panelGroup
 af:outputText value=Usuário:  styleClass=x19/
 af:outputLabel value=#{usuario.nome} styleClass=x19/
   /h:panelGroup
 /f:facet
 f:facet name=branding/f:facet
 f:facet name=brandingApp/f:facet
 f:facet name=appCopyright
   f:verbatimCopyright/f:verbatim
 /f:facet
 f:facet name=appPrivacy
   f:verbatimPrivacidade/f:verbatim
 /f:facet
 f:facet name=appAbout
   f:verbatimSobre/f:verbatim
 /f:facet
 f:facet name=menuSwitch
   af:form
 af:commandLink text=Trocar módulo 
 shortDesc=Entrar em outro módulo do SAG
 rendered=#{usuario.codfprod == null}
 immediate=true

action=#{backing_sag_index.actionSwitchModule}/
 f:verbatimnbsp;/f:verbatim
 af:goLink text= Sair  shortDesc=Sair do sistema
destination=/logoff/af:goLink
   /af:form
 /f:facet
 af:form
   af:showOneTab binding=#{backing_sag_index.showOneTab}
id=_detail
   /af:showOneTab
 /af:form
 x:div rendered=#{backing_sag_index.imageVisible}
styleClass=SagTextCentered
   af:objectImage
source=#{backing_sag_index.IMAGE_URL}/af:objectImage
 /x:div
   /af:panelPage
   f:verbatim
   a name=ERRO /
   /f:verbatim
   h:messages showSummary=true showDetail=true
   errorClass=af_messages_error
   warnClass=af_messages_message-text layout=table/
 /afh:body
   /afh:html
 /f:view
/jsp:root

And my pom.xml is this:
project xmlns=http://maven.apache.org/POM/4.0.0;
   xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
   xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd;
   modelVersion4.0.0/modelVersion
   groupIdbr.com.sag/groupId
   

Re: problems running project on jetty

2006-09-08 Thread Dudu

Thanks Wayne...

the message error is not found on google :(.
I have removed all dependencies and putted again, but without sucess.
If I try with the jars on my pc, it works. I think there are a problem with
the jars on mvn repository, like calling wrong dependencies  or wrong
versions of it.


On 9/8/06, Wayne Fay [EMAIL PROTECTED] wrote:


This seems like a JSF problem, not really a Maven issue per se.

I'd send a similar email (minus the pom) to a couple JSF groups and
see what they say about it.

Also I'd try deploying your app to another app server to see if
perhaps its simply a Jetty bug.

Wayne

On 9/8/06, Dudu [EMAIL PROTECTED] wrote:
 I don't know what to do...
 i'm migrating my project to maven, but always happen a problem with
 dependencies...
 I'm using adf faces, tomahawk and Sun RI.
 To corrige this error, I'm trying to add some libraries...

 This is the error:
 HTTP ERROR: 500

 /sag/index.jspx(47,19) PWC6317: The attributes for a standard action
 cannot be deferred expressions

 RequestURI=/SagWeb/sag/index.jspx

 *Powered by Jetty:// http://jetty.mortbay.org/*

 My index.jspx is this:
 ?xml version='1.0' encoding='windows-1252'?
 jsp:root xmlns:jsp=http://java.sun.com/JSP/Page; version=2.0
  xmlns:h=http://java.sun.com/jsf/html;
  xmlns:f=http://java.sun.com/jsf/core;
  xmlns:af=http://xmlns.oracle.com/adf/faces;
  xmlns:afh=http://xmlns.oracle.com/adf/faces/html;
  xmlns:x=http://myfaces.apache.org/tomahawk;
  jsp:directive.page contentType=text/html;charset=windows-1252/
  f:view
afh:html
  f:loadBundle basename=br.com.sag.view.backing.messages
var=msg/
  afh:head title=#{msg.nomeAplicacao} - #{
usuario.currentModule.nome
 }
link href=../css/sag.css rel=stylesheet media=screen/
afh:script source=/js/indexCode.js/
afh:script source=/js/indexRefreshCondicoes.js/
  /afh:head
  afh:body id=body
af:panelPage id=panelPage1
  f:facet name=menu2/f:facet
  f:facet name=infoUser/f:facet
  f:facet name=messages/f:facet
  f:facet name=search/f:facet
  f:facet name=actions/f:facet
  f:facet name=brandingAppContextual
x:jscookMenu layout=hbr theme=ThemeOffice
  binding=#{backing_sag_index.jscookMenu1}
  id=jscookMenu1
  x:navigationMenuItems
 binding=#{backing_sag_index.navigationMenuItems1}
 id=navigationMenuItems1
 value=#{backing_sag_index.menu}/
/x:jscookMenu
  /f:facet
  f:facet name=contextSwitcher/f:facet
  f:facet name=infoFootnote/f:facet
  f:facet name=infoReturn/f:facet
  f:facet name=infoStatus

   af:goLink  destination=#ERRO
rendered=#{backing_sag_pohecamp2.hasErrors}
id=vailink
   
h:graphicImage
id=erro
style=BORDER:0
url=/css/images/alerta.gif
title=#{msg.msgExisteErro}
/
h:outputText value=#{msg.msgErro}/
  /af:goLink
  /f:facet
  f:facet name=infoSupplemental/f:facet
  f:facet name=location/f:facet
  f:facet name=menu1/f:facet
  f:facet name=menuGlobal
h:panelGroup
  af:outputText value=Usuário:  styleClass=x19/
  af:outputLabel value=#{usuario.nome} styleClass=x19/
/h:panelGroup
  /f:facet
  f:facet name=branding/f:facet
  f:facet name=brandingApp/f:facet
  f:facet name=appCopyright
f:verbatimCopyright/f:verbatim
  /f:facet
  f:facet name=appPrivacy
f:verbatimPrivacidade/f:verbatim
  /f:facet
  f:facet name=appAbout
f:verbatimSobre/f:verbatim
  /f:facet
  f:facet name=menuSwitch
af:form
  af:commandLink text=Trocar módulo 
  shortDesc=Entrar em outro módulo do SAG
  rendered=#{usuario.codfprod == null}
  immediate=true

 action=#{backing_sag_index.actionSwitchModule}/
  f:verbatimnbsp;/f:verbatim
  af:goLink text= Sair  shortDesc=Sair do sistema
 destination=/logoff/af:goLink
/af:form
  /f:facet
  af:form
af:showOneTab binding=#{backing_sag_index.showOneTab}
 id=_detail
/af:showOneTab
  /af:form
  x:div rendered=#{backing_sag_index.imageVisible}
 styleClass=SagTextCentered
af:objectImage
 source=#{backing_sag_index.IMAGE_URL}/af:objectImage
  /x:div
/af:panelPage
f:verbatim
a name=ERRO /
/f:verbatim
h:messages showSummary=true showDetail=true