• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Deployment error in 6.1 using ejbc

 
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
On running ejbc on my jar file I finally get the following error (I was happy to find it out after all as it wasn't shown when deploying via the web interface):
ERROR: Error from ejbc: For cmp-field 'birthday' of bean 'PersonNeu2', we expected to find a corresponding 'getBirthday'
method in the abstract bean class. Compilation cannot continue without this 'get' method
ERROR: ejbc found errors
Guess what method my PersonBean has ....
Any has any idea what I have done wrong ?
Many thanx,
Max
 
Ranch Hand
Posts: 977
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
could u pls post you deployment descriptors..
regards.
 
Maximilian Trenks
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i solved the problem.
i had an old .jar file in my classpath which had no getBirthday() method and it was loaded before my new class ... fixed that problem and all was ok.
thanx
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic