• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Maven - <com.webobjects.appserver._private.WOComponentDefinition> No template found for component Main
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Maven - <com.webobjects.appserver._private.WOComponentDefinition> No template found for component Main


  • Subject: Maven - <com.webobjects.appserver._private.WOComponentDefinition> No template found for component Main
  • From: Mark Wardle <email@hidden>
  • Date: Sun, 04 Sep 2016 22:26:40 +0100

Dear all,

I have successfully used maven with a non-WO application so I was keen to switch and make it easy for me to use some jar-based libraries of my own within WO.

I have created an empty maven project using two different archetypes [from http://maven.wocommunity.org/service/local/repositories/snapshots/content/archetype-catalog.xml]  using the 2.2-SNAPSHOT version of woapplication-archetype as well as erxapplication-archetype. Both build beautifully from the command-line and run with no problems in direct connect mode it seems.

However, running from within eclipse in direct connect mode results in an error <com.webobjects.appserver._private.WOComponentDefinition> No template found for component Main at "file:/Users/mark/Dev/rsdb/projects/rstest-pw/“  from the erxapplication-archetype application. There are no such problems from woapplication-archetype.

I added 

if (isDirectConnectEnabled()) {
      registerRequestHandler(new JarResourceRequestHandler(), "wr");
}

to my Application class, with JarResourceRequestHandler code from https://gist.github.com/hprange/1068523 but this did not fix the problem.

If I add Project Wonder dependencies to the plain WO app, it runs but I get the error above until I remove them. 

If there is no problem at the command-line but only with eclipse, and only when using Project Wonder, there must be some misconfiguration on my part within eclipse? Should I upgrade to 3.6? eclipse.org has been down all day but otherwise I would have updated.

Any suggestions would be gratefully received!

Mark

-- 
Dr. Mark Wardle
Consultant Neurologist, University Hospital Wales, Cardiff, UK
Email: email@hidden or email@hidden  Twitter: @mwardle
Telephone: 02920745274 (secretary) or facsimile: 02920744166





 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Maven - <com.webobjects.appserver._private.WOComponentDefinition> No template found for component Main
      • From: Hugi Thordarson <email@hidden>
  • Prev by Date: Re: Code review for refreshToOneRelationshipWithKey
  • Next by Date: Re: Maven - <com.webobjects.appserver._private.WOComponentDefinition> No template found for component Main
  • Previous by thread: Re: Deadlocks, editing context locking and network tasks
  • Next by thread: Re: Maven - <com.webobjects.appserver._private.WOComponentDefinition> No template found for component Main
  • Index(es):
    • Date
    • Thread