Skip to Content
Author's profile photo deepthi polipilli

Build Failed, due to missing enclosing type.

 

Hi All,

This was a small issue l have faced while am putting ant clean all.

The Issue/Error is:

Build failed, due to missing enclosing type ‘Your item type’.

 

Solution:

The simple solution for this error is – Go to your items.xml file (or)

Check your Itemtype that you have define in XML  where you have given autocreate=”false”.

 That is the reason, your build getting failed. which should be “true”

You can set it as  “false ” only in case if the model class is already exists in hybris.

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.