You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "liuzhenzhong (JIRA)" <ji...@codehaus.org> on 2007/12/08 17:46:57 UTC

[jira] Created: (SUREFIRE-402) can not use surefire in a folder whose parent name including Chinese

can not use surefire in a folder whose parent name including Chinese 
---------------------------------------------------------------------

                 Key: SUREFIRE-402
                 URL: http://jira.codehaus.org/browse/SUREFIRE-402
             Project: Maven Surefire
          Issue Type: Bug
         Environment:  window xp sp2 Chinese
            Reporter: liuzhenzhong


I am a user coming from China,I download another apache project mina 2.0 using svn ,and put it in a folder whose name is including Chinese works,
when i using " mvn install", it will notify me that the process failed ,the information is 

  [INFO] [surefire:test]
[INFO] Surefire report directory: I:\&#25105; read\minanew\core\target\surefire-report
s
org.apache.maven.surefire.booter.SurefireExecutionException: Unable to create te
st class 'org.apache.mina.common.DefaultIoFilterChainBuilderTest'; nested except
ion is java.lang.ClassNotFoundException: org.apache.mina.common.DefaultIoFilterC
hainBuilderTest; nested exception is org.apache.maven.surefire.testset.TestSetFa
iledException: Unable to create test class 'org.apache.mina.common.DefaultIoFilt
erChainBuilderTest'; nested exception is java.lang.ClassNotFoundException: org.a
pache.mina.common.DefaultIoFilterChainBuilderTest
org.apache.maven.surefire.testset.TestSetFailedException: Unable to create test
class 'org.apache.mina.common.DefaultIoFilterChainBuilderTest'; nested exception
 is java.lang.ClassNotFoundException: org.apache.mina.common.DefaultIoFilterChai
nBuilderTest
java.lang.ClassNotFoundException: org.apache.mina.common.DefaultIoFilterChainBui
lderTest
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at org.apache.maven.surefire.booter.IsolatedClassLoader.loadClass(Isolat
edClassLoader.java:103)
        at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.locateTest
Sets(AbstractDirectoryTestSuite.java:87)
        at org.apache.maven.surefire.Surefire.createSuiteFromDefinition(Surefire
.java:150)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:111)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
refireBooter.java:290)
        at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
ava:818)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE


I have to the fold name into complete English ,it succeeds




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (SUREFIRE-402) can not use surefire in a folder whose parent name including Chinese

Posted by "Dan Fabulich (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/SUREFIRE-402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Fabulich closed SUREFIRE-402.
---------------------------------

    Resolution: Duplicate

Duplicate of SUREFIRE-358

> can not use surefire in a folder whose parent name including Chinese 
> ---------------------------------------------------------------------
>
>                 Key: SUREFIRE-402
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-402
>             Project: Maven Surefire
>          Issue Type: Bug
>         Environment:  window xp sp2 Chinese
>            Reporter: liuzhenzhong
>
> I am a user coming from China,I download another apache project mina 2.0 using svn ,and put it in a folder whose name is including Chinese works,
> when i using " mvn install", it will notify me that the process failed ,the information is 
>   [INFO] [surefire:test]
> [INFO] Surefire report directory: I:\&#25105; read\minanew\core\target\surefire-report
> s
> org.apache.maven.surefire.booter.SurefireExecutionException: Unable to create te
> st class 'org.apache.mina.common.DefaultIoFilterChainBuilderTest'; nested except
> ion is java.lang.ClassNotFoundException: org.apache.mina.common.DefaultIoFilterC
> hainBuilderTest; nested exception is org.apache.maven.surefire.testset.TestSetFa
> iledException: Unable to create test class 'org.apache.mina.common.DefaultIoFilt
> erChainBuilderTest'; nested exception is java.lang.ClassNotFoundException: org.a
> pache.mina.common.DefaultIoFilterChainBuilderTest
> org.apache.maven.surefire.testset.TestSetFailedException: Unable to create test
> class 'org.apache.mina.common.DefaultIoFilterChainBuilderTest'; nested exception
>  is java.lang.ClassNotFoundException: org.apache.mina.common.DefaultIoFilterChai
> nBuilderTest
> java.lang.ClassNotFoundException: org.apache.mina.common.DefaultIoFilterChainBui
> lderTest
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.apache.maven.surefire.booter.IsolatedClassLoader.loadClass(Isolat
> edClassLoader.java:103)
>         at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.locateTest
> Sets(AbstractDirectoryTestSuite.java:87)
>         at org.apache.maven.surefire.Surefire.createSuiteFromDefinition(Surefire
> .java:150)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:111)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
> refireBooter.java:290)
>         at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
> ava:818)
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> I have to the fold name into complete English ,it succeeds

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira