• 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

Unable to find the j2ee pom in maven build

 
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Hi ranchers,

When I tried running the pom file i got the below exception. I looked in the repository but dint find the pom for j2ee 1.4. The same is available in ibiblio. Can anyone let me know how to resolve this error.

Unable to find resource 'j2ee:j2ee:pom:1.4' in repository central (http://repo1.maven.org/maven2)


Regards,
Pradeep
 
author
Posts: 3285
13
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You generally need to replace this with the equivalent geronimo library.
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you sure your dependency is set up correctly? I did not expect to see 'pom' within "j2ee:j2ee:pom:1.4".

Also, posting the entire error (or output) is better than a single line - it often helps to see the context. I say this because my response was based on an assumption of what the context was for the error line you posted, but that assumption might not be correct.
 
Pradeep Kumar
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Yes. the dependency is set correctly but i manually looked in the maven repository for the j2ee.jar and did not find. The same is available in ibiblio repo. How to configure the pom to fetch it from the ibiblio repository? Kindly let me know since I am a newbie and could not find it on the net. Wonder why the j2ee artifact is missing from maven repository!!
 
Pradeep Kumar
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I found the solution. We need to download from java net repo. I found this useful link which addresses what i was facing.

webpage
 
And when my army is complete, I will rule the world! But, for now, I'm going to be happy with this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic