开发者

Can't build netbeans enterprise project with glassfish web profile

开发者 https://www.devze.com 2023-03-14 08:22 出处:网络
I was using glassfish web profile to develop my netbeans \"java web\" project (war). I used ejb and managed beans inside but now I want to split project to ejb and web project (called \"enterprise app

I was using glassfish web profile to develop my netbeans "java web" project (war). I used ejb and managed beans inside but now I want to split project to ejb and web project (called "enterprise application" in netbeans).

I got error "no registered servers found" despite I have registered glassfish web profile. Just for test I installed glassfish full profile and voila - it works! Is it bug in netbeans? AFAIK glassfish web profile contains ejb support so there should be no problem?

I would like to stick with glassfish web profile since it's lightweight and I don't need webservice, rpc, jms etc, just jsf, jpa and ejb (local interface only).

using glassfish 3.1 & netbe开发者_开发百科ans 7.0 thanks for help!


You can not deploy an ear onto any Java EE 6 web profile server.

NetBeans 'knows' this and prevents you from trying to target an ear project for deployment on a 'web profile' server.

0

精彩评论

暂无评论...
验证码 换一张
取 消