• Post Reply Bookmark Topic Watch Topic
  • New Topic

Pls Urgent ....Compilation error in petstore while deploying  RSS feed

 
palash76
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
I met with this error
in the class SupplierOrderEJB_PM.java there is a method setLineItems(java.util.Collection)
pls go thru the folloing error ...
c:\j2sdkee1.3.1\repository\client-18\gnrtrTMP\SupplierEAR\com\sun\j2ee\blueprint
s\supplierpo\ejb\SupplierOrderEJB_PM.java:3: com.sun.j2ee.blueprints.supplierpo.
ejb.SupplierOrderEJB_PM should be declared abstract; it does not define setLineI
tems(java.util.Collection) in com.sun.j2ee.blueprints.supplierpo.ejb.SupplierOrd
erEJB
public final class SupplierOrderEJB_PM extends SupplierOrderEJB implements com.s
un.ejb.PersistentInstance {
^
c:\j2sdkee1.3.1\repository\client-18\gnrtrTMP\SupplierEAR\com\sun\j2ee\blueprint
s\supplierpo\ejb\SupplierOrderEJB_PM.java:57: getLineItems() in com.sun.j2ee.blu
eprints.supplierpo.ejb.SupplierOrderEJB_PM cannot override getLineItems() in com
.sun.j2ee.blueprints.supplierpo.ejb.SupplierOrderEJB; attempting to use incompat
ible return type
found : com.sun.j2ee.blueprints.lineitem.ejb.LineItemLocal
required: java.util.Collection
public com.sun.j2ee.blueprints.lineitem.ejb.LineItemLocal getLineItems() {
^
2 errors
Compilation failed ...

thank u,
regards,
Palash
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!