Error: cannot be cast to

  • When we Migrate OSB 11g project to 12c or create new project in 12c, it will give error while opening composite.xml:

java.lang.ClassCastException: cannot be cast to



  • Go to your project folder structure:

Right Click Project Name –> Click on project properties –> Click on project source path –> Copy output directory and open it in window.

  • Open <ProjectName>.jpr file in notepad and remove SOA from TechnologyScopeConfiguration.

<string v=”SOA”/>




  • Restart JDeveloper and open composite.xml file. You can see all configured services and references.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s