The most common cause of this error is a missing LANSA license.
You will require a Web development license on the Data/Application Server.
Refer to the Installing LANSA on IBM i Guide or LANSA Windows Licensing.