You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by Federico Spinazzi <f....@masterhouse.it> on 2003/10/06 15:13:25 UTC

[xmlbeans] cannot resolve symbol compilation error - update

> but then I get a cannot resolve symbol error from javac... 

Well, it would be better if I've included the error message, me stupid:
    [javac] 
C:\dev\questo\src\test\it\masterhouse\questo\questions\TestXmlFactory.java:16: 
cannot resolve symbol
    [javac] symbol  : class newInstance
    [javac] location: class it.masterhouse.questo.LibraryType.Factory
    [javac]         LibraryType libraryType = new 
LibraryType.Factory.newInstance();
    [javac]                                                          ^
    [javac] 1 error

many thanks,
Federico


- ---------------------------------------------------------------------
To unsubscribe, e-mail:   xmlbeans-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-user-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/


Re: [personal] Re: [xmlbeans] cannot resolve symbol compilation error - update

Posted by Federico Spinazzi <f....@masterhouse.it>.
melldrin@lka.nu wrote:

>... =)
>
>Try removing the 'new' keyword before the call to newInstance()... It
>shouldn't be there.
>
>Regards,
>Erik Hansson
>
>  
>
What a fool!
Many thanks!
Federico


- ---------------------------------------------------------------------
To unsubscribe, e-mail:   xmlbeans-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-user-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/


Re: [personal] Re: [xmlbeans] cannot resolve symbol compilation error - update

Posted by Federico Spinazzi <f....@masterhouse.it>.
melldrin@lka.nu wrote:

>... =)
>
>Try removing the 'new' keyword before the call to newInstance()... It
>shouldn't be there.
>
>Regards,
>Erik Hansson
>
>  
>
What a fool!
Many thanks!
Federico


- ---------------------------------------------------------------------
To unsubscribe, e-mail:   xmlbeans-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-user-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/


Re: [xmlbeans] cannot resolve symbol compilation error - update

Posted by me...@lka.nu.
... =)

Try removing the 'new' keyword before the call to newInstance()... It
shouldn't be there.

Regards,
Erik Hansson


>> but then I get a cannot resolve symbol error from javac... 

> Well, it would be better if I've included the error message, me stupid:
>     [javac] 
> C:\dev\questo\src\test\it\masterhouse\questo\questions\TestXmlFactory.java:16:
> cannot resolve symbol
>     [javac] symbol  : class newInstance
>     [javac] location: class
> it.masterhouse.questo.LibraryType.Factory
>     [javac]         LibraryType libraryType = new 
> LibraryType.Factory.newInstance();
>     [javac]                                                      
>     [javac] 1 error

> many thanks,
> Federico


> -
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:   xmlbeans-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: xmlbeans-user-help@xml.apache.org
> Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/



- ---------------------------------------------------------------------
To unsubscribe, e-mail:   xmlbeans-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-user-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/


Re: [xmlbeans] cannot resolve symbol compilation error - update

Posted by me...@lka.nu.
... =)

Try removing the 'new' keyword before the call to newInstance()... It
shouldn't be there.

Regards,
Erik Hansson


>> but then I get a cannot resolve symbol error from javac... 

> Well, it would be better if I've included the error message, me stupid:
>     [javac] 
> C:\dev\questo\src\test\it\masterhouse\questo\questions\TestXmlFactory.java:16:
> cannot resolve symbol
>     [javac] symbol  : class newInstance
>     [javac] location: class
> it.masterhouse.questo.LibraryType.Factory
>     [javac]         LibraryType libraryType = new 
> LibraryType.Factory.newInstance();
>     [javac]                                                      
>     [javac] 1 error

> many thanks,
> Federico


> -
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:   xmlbeans-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: xmlbeans-user-help@xml.apache.org
> Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/



- ---------------------------------------------------------------------
To unsubscribe, e-mail:   xmlbeans-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-user-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/