2 comments
Comment actions Permalink

I have the same thing. IDEA says that "FooBean should be declared abstract; it does not define create in FooHome".
I do have the create() method in FooHome. And when accept the suggestion (just to see what it happens) and make
FooBean abstract, it says "Class FooBean should not be abstract" and there's an intention to make the class not abstract
after which it return to the same state and the same error.


Timur Zambalayev


"Andrei Oprea" <aoprea@certapay.com> wrote in message news:ahmbuv$hto$1@is.intellij.net...

Hi there,

>

In build 637, my session beans (stateless, I haven't checked for statefull)
are marked with errors (red line on the side). The error message suggests
making the class abstract since there is no create() method in the home
interface.

>

Nonetheless, the ejbCreate method is correctly linked to the existing
create() method in the home interface, and navigation (through the
implements links) is working correctly both ways.

>

The error lines do not go away (or change to warnings) if I change the level
in the EJB Errors/Warnings settings, as do the other types of errors.

>

Regards,
Andrei

>
>


0
Comment actions Permalink

Hello Andrei,
This is fixed in #638,
Thank you for report

--
regards,
Alexey Kudravtsev.
JetBrains, Inc
http://www.intellij.com
"Develop with pleasure!"


"Andrei Oprea" <aoprea@certapay.com> wrote in message
news:ahmbuv$hto$1@is.intellij.net...

Hi there,

>

In build 637, my session beans (stateless, I haven't checked for

statefull)

are marked with errors (red line on the side). The error message suggests
making the class abstract since there is no create() method in the home
interface.

>

Nonetheless, the ejbCreate method is correctly linked to the existing
create() method in the home interface, and navigation (through the
implements links) is working correctly both ways.

>

The error lines do not go away (or change to warnings) if I change the

level

in the EJB Errors/Warnings settings, as do the other types of errors.

>

Regards,
Andrei

>
>


0

Please sign in to leave a comment.