Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6107079
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T14:08:59+00:00 2026-05-23T14:08:59+00:00

I and others are having trouble running scala on AS 6. The problem is

  • 0

I and others are having trouble running scala on AS 6.

The problem is a IllegalArgumentException that prevents deployment (stack trace below).

I am trying to run the project generated by the sacalate maven archetype (scalate-archetype-empty) and other projects of mine, all with the same problem.

Is there a known workaround for this?

08:41:21,200 ERROR [AbstractKernelController] Error installing to PostClassLoader: name=vfs:///home/jfaerman/dev/jboss-6.0.0.Final/server/default/deploy/scalearn.war state=ClassLoader mode=Manual requiredState=PostClassLoader: org.jboss.deployers.spi.DeploymentException: Error during deploy: vfs:///home/jfaerman/dev/jboss-6.0.0.Final/server/default/deploy/scalearn.war

    at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) [:2.2.0.GA]

   (ommited long trace)

Caused by: java.lang.Error: Error visiting "/home/jfaerman/dev/jboss-6.0.0.Final/server/default/deploy/scalearn.war/WEB-INF/lib/scala-compiler-2.8.0.jar/scala/tools/nsc/typechecker/NamesDefaults$$anonfun$9.class"

    at org.jboss.classloading.plugins.vfs.VFSResourceVisitor.visit(VFSResourceVisitor.java:268) [jboss-classloading-vfs.jar:2.2.0.GA

    ... 43 more

Caused by: java.lang.RuntimeException: Error visiting resource: VFSResourceContext @ scala/tools/nsc/typechecker/NamesDefaults$$anonfun$9.class / BaseClassLoader@10b4adb7{vfs:///home/jfaerman/dev/jboss-6.0.0.Final/server/default/deploy/scalearn.war}, visitor: org.jboss.scanning.annotations.plugins.GenericAnnotationVisitor@3f4ddd67

    at org.jboss.scanning.plugins.visitor.IgnoreSetErrorHandler.handleError(IgnoreSetErrorHandler.java:56) [:1.0.0.GA]

Caused by: java.lang.IllegalArgumentException: Null type

    at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl.getTypeInfo(IntrospectionTypeInfoFactoryImpl.java:354) [jboss-reflect.jar:2.2.0.GA]
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T14:09:00+00:00Added an answer on May 23, 2026 at 2:09 pm

    This worked for me: in deployers/scanning-deployers-jboss-beans.xml, within the ResourceErrorHandler bean add a new <install> block as follows:

     <install method="addIgnored">
         <parameter>java.lang.NoClassDefFoundError</parameter>
     </install>
    

    Googling also suggested that another workaround was to add an appropriate jboss-scanning.xml file, but I couldn’t get this to work for my EAR:

    http://www.mastertheboss.com/jboss-application-server/313-restful-cache-with-infinispan.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am having trouble connecting my online application to others across another network. I
Being pretty unfamiliar with design patterns and architecture, I'm having trouble explaining to others
I am having trouble trying to make a HashMap accessible to other methods in
I have seen the other posts but I am still having trouble. Below is
I'm having some trouble figuring out to call methods that I have in other
Having trouble getting my local IIS7 running C # MVC app to connect to
I'm having trouble with a particular version of Pocket IE running under Windows Mobile
I'm having trouble enabling the socket transport ssl in PHP. When I run my
Need Windows .bat file tech support. I am having trouble running Win 7 bat
I'm having trouble loading the sde package on a clean Debian install running R

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.