NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Changing java ee version in netbeans 6.8?

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
padjester



Joined: 14 Jul 2009
Posts: 33

PostPosted: Wed May 19, 2010 11:25 am    Post subject: Changing java ee version in netbeans 6.8? Reply with quote

Hi there

I have an existing web application project in netbeans 6.8 that uses java ee5. I would like to change the java ee version to java ee6. Is this possible? I have been looking but cannot seem to find any option. I am using JSF2 with primefaces and according to the help files I need to have java ee6? The reason for the change is as follows:

I am trying to implement the menu component from the primefaces showcase but keep getting this error in my jsp: "unknown attribute xmlns of tag <html>"

When I explored this error a little deeper I came to the conclusion that I need to be using java ee6, but am having difficuilty in finding out how to change my current project from java ee5 to java ee6?

I would appreciate any advice.

Thanking you
Kind regards
Lee-Ann
Back to top
troy giunipero
Posted via mailing list.





PostPosted: Thu May 20, 2010 11:47 pm    Post subject: Changing java ee version in netbeans 6.8? Reply with quote

From the Files window open your nbproject/project.properties file.
Locate the j2ee.platform key and change the value to 1.6.

Although, I'm not sure what the ramifications are for changing a
project's EE version this way. There might be a good reason why the IDE
doesn't let you change versions from its Project Properties window.

troy


On 5/19/10 1:25 PM, padjester wrote:
Quote:
Hi there

I have an existing web application project in netbeans 6.8 that uses java ee5. I would like to change the java ee version to java ee6. Is this possible? I have been looking but cannot seem to find any option. I would like to use JSF2 with primefaces and according to the help files I need to have java ee6?

Thank you
Kind regards
Lee-Ann




Back to top
artisan



Joined: 25 Nov 2008
Posts: 23

PostPosted: Sat Jul 31, 2010 7:03 pm    Post subject: Re: Changing java ee version in netbeans 6.8? Reply with quote

Any idea how to do that in 6.9 ? There's no nbproject folder any more...

troy giunipero wrote:
From the Files window open your nbproject/project.properties file.
Locate the j2ee.platform key and change the value to 1.6.

Although, I'm not sure what the ramifications are for changing a
project's EE version this way. There might be a good reason why the IDE
doesn't let you change versions from its Project Properties window.

troy


On 5/19/10 1:25 PM, padjester wrote:
Quote:
Hi there

I have an existing web application project in netbeans 6.8 that uses java ee5. I would like to change the java ee version to java ee6. Is this possible? I have been looking but cannot seem to find any option. I would like to use JSF2 with primefaces and according to the help files I need to have java ee6?

Thank you
Kind regards
Lee-Ann




Sad
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo