w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Cannot add Module to Java EE Enterprise Application - nullPointer when creating Enterprise Application Project

Root cause is that the WTP project configuration fails due to the wrong java web facet being installed.

You could try to determine if the EAR project has deployment descriptor, if so, then force save.

    final ReferencedComponent ref =
AddComponentToEnterpriseApplicationOp.findReferencedComponent(earwc, wc,
se, compse);

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.