Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Prohibited Package Name Error

 
Pol Appan
Ranch Hand
Posts: 144
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am able to succesfully deploy webservice. However when I run and click invoke button I am getting error

An error occurred for port: {http://Test.getEmailP
ackage/}MyWebServiceSoapHttpPort: java.lang.SecurityException: Prohibited package name: java.lang.runtime.

What could be the reason, I tried renaming the package name!

Any help is highly appreciated.

Thanks
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What are you trying to do with "java.lang.runtime"? You can't define new classes or packages in the java.lang hierachy. Or are you using the java.lang.Runtime class? In that case, fix the capitalization.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic