1 Reply Latest reply on Mar 15, 2012 4:59 PM by kenfinni

    Building seam booking example not working

    spikemon

      i am doing like the tutorial, but something is wrong.

       

      svn co http://anonsvn.jboss.org/repos/portletbridge/tags/2.0.0.ALPHA/examples/seam/booking/ booking

      A    booking\seamBookingDemo.iws

      A    booking\ear

      A    booking\ear\.classpath

      A    booking\ear\src

      A    booking\ear\src\main

      A    booking\ear\src\main\application

      A    booking\ear\pom.xml

      A    booking\seamBookingPortlet

      A    booking\seamBookingPortlet\.classpath

      A    booking\seamBookingPortlet\src

      A    booking\seamBookingPortlet\src\test

      A    booking\seamBookingPortlet\src\main

      A    booking\seamBookingPortlet\src\main\java

      A    booking\seamBookingPortlet\src\main\java\org

      A    booking\seamBookingPortlet\src\main\java\org\jboss

      A    booking\seamBookingPortlet\src\main\java\org\jboss\seam

      A    booking\seamBookingPortlet\src\main\java\org\jboss\seam\example

      A    booking\seamBookingPortlet\src\main\java\org\jboss\seam\example\booking

      A    booking\seamBookingPortlet\src\main\resources

      A    booking\seamBookingPortlet\src\main\resources\components.properties

      A    booking\seamBookingPortlet\src\main\resources\seam.properties

      A    booking\seamBookingPortlet\src\main\liferay

      A    booking\seamBookingPortlet\src\main\liferay\liferay-portlet.xml

      A    booking\seamBookingPortlet\src\main\liferay\liferay-web.xml

      A    booking\seamBookingPortlet\src\main\liferay\liferay-plugin-package.properties

      A    booking\seamBookingPortlet\src\main\liferay\liferay-display.xml

      A    booking\seamBookingPortlet\src\main\webapp

      A    booking\seamBookingPortlet\src\main\webapp\register.xhtml

      A    booking\seamBookingPortlet\src\main\webapp\main.xhtml

      A    booking\seamBookingPortlet\src\main\webapp\edit.xhtml

      A    booking\seamBookingPortlet\src\main\webapp\hotel-map.xhtml

      A    booking\seamBookingPortlet\src\main\webapp\home.xhtml

      A    booking\seamBookingPortlet\src\main\webapp\book.xhtml

      A    booking\seamBookingPortlet\src\main\webapp\WEB-INF

      A    booking\seamBookingPortlet\src\main\webapp\WEB-INF\.faces-config.xml.jsfdia

      A    booking\seamBookingPortlet\src\main\webapp\WEB-INF\faces-config.xml

      A    booking\seamBookingPortlet\src\main\webapp\WEB-INF\components.xml

      A    booking\seamBookingPortlet\src\main\webapp\WEB-INF\jboss-portlet.xml

      A    booking\seamBookingPortlet\src\main\webapp\WEB-INF\lib

      A    booking\seamBookingPortlet\src\main\webapp\WEB-INF\portlet.xml

      A    booking\seamBookingPortlet\src\main\webapp\WEB-INF\jboss-web.xml

      A    booking\seamBookingPortlet\src\main\webapp\WEB-INF\seamBookingPortlet-object.xml

      A    booking\seamBookingPortlet\src\main\webapp\WEB-INF\web.xml

      A    booking\seamBookingPortlet\src\main\webapp\WEB-INF\jboss-app.xml

      A    booking\seamBookingPortlet\src\main\webapp\WEB-INF\portlet-instances.xml

      A    booking\seamBookingPortlet\src\main\webapp\WEB-INF\pages.xml

      A    booking\seamBookingPortlet\src\main\webapp\confirm.xhtml

      A    booking\seamBookingPortlet\src\main\webapp\conversations.xhtml

      A    booking\seamBookingPortlet\src\main\webapp\css

      A    booking\seamBookingPortlet\src\main\webapp\css\master.css

      A    booking\seamBookingPortlet\src\main\webapp\css\date.css

      A    booking\seamBookingPortlet\src\main\webapp\css\screen.css

      A    booking\seamBookingPortlet\src\main\webapp\css\trailblazer_main.css

      A    booking\seamBookingPortlet\src\main\webapp\exp

      A    booking\seamBookingPortlet\src\main\webapp\exp\bookingExp.xhtml

      A    booking\seamBookingPortlet\src\main\webapp\exp\loginExp.xhtml

      A    booking\seamBookingPortlet\src\main\webapp\exp\introExp.xhtml

      A    booking\seamBookingPortlet\src\main\webapp\exp\mainExp.html

      A    booking\seamBookingPortlet\src\main\webapp\exp\registerExp.html

      A    booking\seamBookingPortlet\src\main\webapp\exp\confirmExp.xhtml

      A    booking\seamBookingPortlet\src\main\webapp\exp\workspaceExp.xhtml

      A    booking\seamBookingPortlet\src\main\webapp\exp\bookingExp.html

      A    booking\seamBookingPortlet\src\main\webapp\exp\loginExp.html

      A    booking\seamBookingPortlet\src\main\webapp\exp\introExp.html

      A    booking\seamBookingPortlet\src\main\webapp\exp\mainExp.xhtml

      A    booking\seamBookingPortlet\src\main\webapp\exp\confirmExp.html

      A    booking\seamBookingPortlet\src\main\webapp\exp\workspaceExp.html

      A    booking\seamBookingPortlet\src\main\webapp\password.xhtml

      A    booking\seamBookingPortlet\src\main\webapp\META-INF

      A    booking\seamBookingPortlet\src\main\webapp\META-INF\persistence.xml

      A    booking\seamBookingPortlet\src\main\webapp\META-INF\MANIFEST.MF

      A    booking\seamBookingPortlet\src\main\webapp\display.xhtml

      A    booking\seamBookingPortlet\src\main\webapp\hotelview.xhtml

      A    booking\seamBookingPortlet\src\main\webapp\hotel.xhtml

      A    booking\seamBookingPortlet\src\main\webapp\template.xhtml

      A    booking\seamBookingPortlet\src\main\webapp\js

      A    booking\seamBookingPortlet\src\main\webapp\js\gmap.js

      A    booking\seamBookingPortlet\src\main\webapp\img

      A    booking\seamBookingPortlet\src\main\webapp\img\cnt.bg.gif

      A    booking\seamBookingPortlet\src\main\webapp\img\hdr.ad.jpg

      A    booking\seamBookingPortlet\src\main\webapp\img\dtpick.gif

      A    booking\seamBookingPortlet\src\main\webapp\img\spinner.gif

      A    booking\seamBookingPortlet\src\main\webapp\img\input.bg.gif

      A    booking\seamBookingPortlet\src\main\webapp\img\bg.gif

      A    booking\seamBookingPortlet\src\main\webapp\img\cal-prev.png

      A    booking\seamBookingPortlet\src\main\webapp\img\cal-next.png

      A    booking\seamBookingPortlet\src\main\webapp\img\hdr.bar.jpg

      A    booking\seamBookingPortlet\src\main\webapp\img\hdr.title.gif

      A    booking\seamBookingPortlet\src\main\webapp\img\header_line.gif

      A    booking\seamBookingPortlet\src\main\webapp\img\sdb.bg.gif

      A    booking\seamBookingPortlet\src\main\webapp\img\th.bg.gif

      A    booking\seamBookingPortlet\src\main\webapp\img\hdr.bg.gif

      A    booking\seamBookingPortlet\src\main\webapp\img\hdr.bar75.jpg

      A    booking\seamBookingPortlet\src\main\webapp\img\gmap-pin1.png

      A    booking\seamBookingPortlet\src\main\webapp\img\btn.bg.gif

      A    booking\seamBookingPortlet\src\main\webapp\portlet-frame.xhtml

      A    booking\seamBookingPortlet\src\main\webapp\staticTemplate.xhtml

      A    booking\seamBookingPortlet\pom.xml

      A    booking\seamBookingPortlet\hibernate-console.properties

      A    booking\seamBookingPortlet\.metadata

      A    booking\seamBookingPortlet\.metadata\src

      A    booking\seamBookingPortlet\.metadata\src\main

      A    booking\seamBookingPortlet\.metadata\src\main\webapp

      A    booking\seamBookingPortlet\.metadata\src\main\webapp\WEB-INF

      A    booking\seamBookingPortlet\.metadata\src\main\webapp\WEB-INF\faces-config.pageflow

      A    booking\pom.xml

      A    booking\README.txt

      A    booking\seamBookingDemo.ipr

      A    booking\seamBooking

      A    booking\seamBooking\.classpath

      A    booking\seamBooking\ejbModule

      A    booking\seamBooking\ejbModule\META-INF

      A    booking\seamBooking\ejbModule\META-INF\MANIFEST.MF

      A    booking\seamBooking\src

      A    booking\seamBooking\src\main

      A    booking\seamBooking\src\main\java

      A    booking\seamBooking\src\main\java\org

      A    booking\seamBooking\src\main\java\org\jboss

      A    booking\seamBooking\src\main\java\org\jboss\seam

      A    booking\seamBooking\src\main\java\org\jboss\seam\example

      A    booking\seamBooking\src\main\java\org\jboss\seam\example\booking

      A    booking\seamBooking\src\main\java\org\jboss\seam\example\booking\HotelSearching.java

      A    booking\seamBooking\src\main\java\org\jboss\seam\example\booking\HotelListAction.java

      A    booking\seamBooking\src\main\java\org\jboss\seam\example\booking\ChangePasswordAction.java

      A    booking\seamBooking\src\main\java\org\jboss\seam\example\booking\HotelList.java

      A    booking\seamBooking\src\main\java\org\jboss\seam\example\booking\AuthenticatorAction.java

      A    booking\seamBooking\src\main\java\org\jboss\seam\example\booking\ChangePassword.java

      A    booking\seamBooking\src\main\java\org\jboss\seam\example\booking\Authenticator.java

      A    booking\seamBooking\src\main\java\org\jboss\seam\example\booking\Hotel.java

      A    booking\seamBooking\src\main\java\org\jboss\seam\example\booking\User.java

      A    booking\seamBooking\src\main\java\org\jboss\seam\example\booking\RegisterAction.java

      A    booking\seamBooking\src\main\java\org\jboss\seam\example\booking\BookingListAction.java

      A    booking\seamBooking\src\main\java\org\jboss\seam\example\booking\HotelBookingAction.java

      A    booking\seamBooking\src\main\java\org\jboss\seam\example\booking\Register.java

      A    booking\seamBooking\src\main\java\org\jboss\seam\example\booking\BookingList.java

      A    booking\seamBooking\src\main\java\org\jboss\seam\example\booking\HotelBooking.java

      A    booking\seamBooking\src\main\java\org\jboss\seam\example\booking\BookingEventHandler.java

      A    booking\seamBooking\src\main\java\org\jboss\seam\example\booking\Booking.java

      A    booking\seamBooking\src\main\java\org\jboss\seam\example\booking\BookingEvent.java

      A    booking\seamBooking\src\main\java\org\jboss\seam\example\booking\HotelSearchingAction.java

      A    booking\seamBooking\src\main\resources

      A    booking\seamBooking\src\main\resources\roles.properties

      A    booking\seamBooking\src\main\resources\META-INF

      A    booking\seamBooking\src\main\resources\META-INF\persistence.xml

      A    booking\seamBooking\src\main\resources\META-INF\MANIFEST.MF

      A    booking\seamBooking\src\main\resources\META-INF\ejb-jar.xml

      A    booking\seamBooking\src\main\resources\META-INF\orm.xml

      A    booking\seamBooking\src\main\resources\components.properties

      A    booking\seamBooking\src\main\resources\seam.properties

      A    booking\seamBooking\src\main\resources\messages.properties

      A    booking\seamBooking\src\main\resources\import.sql

      A    booking\seamBooking\src\main\resources\booking1-ds.xml

      A    booking\seamBooking\src\main\resources\users.properties

      A    booking\seamBooking\pom.xml

      Revisi¢n obtenida: 1072

       

       

      cd booking

       

       

      >mvn install

      [INFO] Scanning for projects...

      Downloading: http://repo.maven.apache.org/maven2/org/jboss/portletbridge/examples/2.0.0.ALPHA/examples-2.0.0.ALPHA.pom

      [ERROR] The build could not read 1 project -> [Help 1]

      [ERROR]

      [ERROR]   The project org.jboss.portletbridge.examples.seam.booking:seamBookingDemo:2.0.0.ALPHA (C:\Users\pablorodriguez\Desktop\lesson22\booking\pom.xml) has

      [ERROR]     Non-resolvable parent POM: Could not find artifact org.jboss.portletbridge:examples:pom:2.0.0.ALPHA in central (http://repo.maven.apache.org/maven2

      ng local POM @ line 4, column 13 -> [Help 2]

      [ERROR]

      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

      [ERROR] Re-run Maven using the -X switch to enable full debug logging.

      [ERROR]

      [ERROR] For more information about the errors and possible solutions, please read the following articles:

      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException

      [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

       

       

       

      i try to find the files in maven central repo, but i couldn't.

       

      thanks in advance.