How to allow publishing of JavaEE applications with “errors” in IBM Rational® Software Architect

The problem

Sometimes, you are creating pieces of software with many tags in HTML, JavaScript or any other front-end language that IBM Rational® Software Architect doesn’t recognize, for example today I was publishing a theme for WebSphere Portal 8 and an error started to happen in the publishing operation, in a nutshell it was about my theme had some <div></div> tags and IBM Rational® Software Architect wasn’t able to mark them as valid.

java

Solution

If you are pretty sure your code is ok, and the error is just because IBM Rational® Software Architect doesn’t have support for some tags, then you will only need to say “Hey Rational allow me to publish my stuff!”,

  1. Go to menu Window > Preferences > Server > WebSphere Application Server
  2. Look for Allow applications containing errors to be published on a server
  3. See following image for more details about it:

allow-publishing-java-ee-applications-on-RAD

That’s it!

Be happy with your code!

Leave a Reply

Your email address will not be published. Required fields are marked *