Thanks everyone for replies!
I've checked my jdk,classpath,maven,but the problem go on.
D:\user\liftweb>set
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\Administrator\Application Data
APR_ICONV_PATH=D:\Program Files\Subversion\iconv
classpath=.;D:\opt\Java\jdk1.5.0_16\lib;D:\opt\Java\jdk1.5.0_16\jre\lib\rt.jar;D:\opt\Java\jdk1.5.0_16\lib\tools.jar;d:\PROGRA~1\JMF21~1.1E\lib\sound.jar;d:\PRO
GRA~1\JMF21~1.1E\lib\jmf.jar;d:\PROGRA~1\JMF21~1.1E\lib;
CLIENTNAME=Console
COLINUX=d:\coLinux
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=PC-200905040902
ComSpec=C:\WINDOWS\system32\cmd.exe
ERROR_CODE=1
FP_NO_HOST_CHECK=NO
GRAILS_HOME=D:\opt\grails
HOME=C:\Documents and Settings\Administrator
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\Administrator
JAVA_HOME=D:\opt\Java\jdk1.5.0_16
LOGONSERVER=\\PC-200905040902
M2=D:\opt\apache-maven-2.0.10\bin
M2_HOME=D:\opt\apache-maven-2.0.10
MAVEN_OPTS=-Xmx1024m
NUMBER_OF_PROCESSORS=2
OS=Windows_NT
Path=D:\opt\apache-maven-2.0.10\bin;
d:\opt\liftweb-1.0/apache-maven/bin;.;D:\opt\grails\bin;d:\oracle\product\10.2.0\client_1\bin;D:\opt\JavaFX\javafx-sdk1.1\bi
n;D:\opt\JavaFX\javafx-sdk1.1\emulator\bin;.;D:\opt\Java\jdk1.5.0_16/bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\IDM Computer S
olutions\UltraEdit-32;d:\Program Files\Subversion\bin;D:\Program
Files\TortoiseSVN\bin;.;d:\opt;D:\Python25\;d:\opt\opencv\lib;
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 15 Model 107 Stepping 1, AuthenticAMD
PROCESSOR_LEVEL=15
PROCESSOR_REVISION=6b01
ProgramFiles=C:\Program Files
PROMPT=$P$G
SCALA_HOME22=D:\opt\scala-2.7.5.final\
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
TMP=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
USERDOMAIN=PC-200905040902
USERNAME=Administrator
USERPROFILE=C:\Documents and Settings\Administrator
VS80COMNTOOLS=C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\
windir=C:\WINDOWS
D:\user\liftweb>mvn compile
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] Lift
[INFO] Lift Utils
[INFO] Lift Actor
[INFO] Lift WebKit
[INFO] Lift Wizard
[INFO] Lift OSGi
[INFO] Lift Widgets
[INFO] Lift Mapper
[INFO] Lift Machine
[INFO] Lift Record
[INFO] Lift Textile
[INFO] Lift Facebook
[INFO] Lift AMQP
[INFO] Lift XMPP
[INFO] Lift OpenID
[INFO] Lift OAuth
[INFO] Lift PayPal
[INFO] Lift TestKit
[INFO] Lift Core (full lift)
[INFO] Lift JTA
[INFO] Lift JPA
[INFO] Lift Sites
[INFO] Lift Example
[INFO] OSGi Examples for Lift - Hello
[INFO] OSGi Examples for Lift
[INFO] Skittr Example
[INFO] HelloLift example application
[INFO] HelloDarwin tutorial application
[INFO] JPA Demo Master
[INFO] JPADemo-spa
[INFO] JPADemo-web
[INFO] HTTP Authentication example
[INFO] lift-archetype-blank
[INFO] lift-archetype-basic
[INFO] lift-archetype-jpa-basic
[INFO] lift-archetype-jpa-blank
[INFO] lift-archetype-jpa-blank-single
WAGON_VERSION: 1.0-beta-2
[INFO]
------------------------------------------------------------------------
[INFO] Building Lift
[INFO] task-segment: [compile]
[INFO]
------------------------------------------------------------------------
[INFO] [scala:compile {execution: default}]
[INFO] Checking for multiple versions of scala
[WARNING] No source files found.
[INFO]
------------------------------------------------------------------------
[INFO] Building Lift Utils
[INFO] task-segment: [compile]
[INFO]
------------------------------------------------------------------------
[INFO] [resources:resources]
[WARNING] Using platform encoding (GBK actually) to copy filtered resources,
i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory
D:\user\liftweb\lift-util\src\main\resources
[INFO] [yuicompressor:compress {execution: default}]
[INFO] nb warnings: 0, nb errors: 0
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [scala:compile {execution: default}]
[INFO] Checking for multiple versions of scala
[INFO] Compiling 37 source files to D:\user\liftweb\lift-util\target\classes
[WARNING]
D:\user\liftweb\lift-util\src\main\scala\net\liftweb\util\ConcurrentLock.scala:16:
error: value util is not a member of package net.java
[WARNING] import java.util.concurrent.locks._
[WARNING] ^
[WARNING]
D:\user\liftweb\lift-util\src\main\scala\net\liftweb\util\CurrencyZone.scala:69:
error: value lang is not a member of package net.java
[WARNING] } catch { case e: java.lang.NumberFormatException => {
[WARNING] ^
[WARNING]
D:\user\liftweb\lift-util\src\main\scala\net\liftweb\util\CurrencyZone.scala:72:
error: value text is not a member of package net.java
[WARNING] } catch { case e: java.text.ParseException =>
{
[WARNING] ^
[WARNING]
D:\user\liftweb\lift-util\src\main\scala\net\liftweb\util\CurrencyZone.scala:103:
error: value math is not a member of package net.java
[WARNING] make(new
BigDecimal(this.amount.bigDecimal.divide(that.amount.bigDecimal, scale,
java.math.BigDecimal.ROUND_HALF_UP)) )
[WARNING]
^
[WARNING]
D:\user\liftweb\lift-util\src\main\scala\net\liftweb\util\IOHelpers.scala:104:
error: value io is not a member of package net.java
[WARNING] def doClose[T](is: java.io.Closeable*)(f : => T): T = {
[WARNING] ^
[WARNING]
D:\user\liftweb\lift-util\src\main\scala\net\liftweb\util\Mailer.scala:84:
error: value util is not a member of package net.java
[WARNING] import java.util.Properties
[WARNING] ^
[WARNING]
D:\user\liftweb\lift-util\src\main\scala\net\liftweb\util\PCDataMarkupParser.scala:187:
error: value io is not a member of package net.java
[WARNING] import java.io.ByteArrayInputStream
[WARNING] ^
[WARNING]
D:\user\liftweb\lift-util\src\main\scala\net\liftweb\util\Props.scala:178:
error: value io is not a member of package net.java
[WARNING] import java.io.{ByteArrayInputStream}
[WARNING] ^
[WARNING]
D:\user\liftweb\lift-util\src\main\scala\net\liftweb\util\Props.scala:179:
error: value util is not a member of package net.java
[WARNING] import java.util.InvalidPropertiesFormatException
[WARNING] ^
[WARNING]
D:\user\liftweb\lift-util\src\main\scala\net\liftweb\util\SoftReferenceCache.scala:3:
error: value lang is not a member of package net.java
[WARNING] import java.lang.ref.{ReferenceQueue,SoftReference};
[WARNING] ^
[WARNING]
D:\user\liftweb\lift-util\src\main\scala\net\liftweb\util\SoftReferenceCache.scala:4:
error: value util is not a member of package net.java
[WARNING] import java.util._
[WARNING] ^
[WARNING]
D:\user\liftweb\lift-util\src\main\scala\net\liftweb\util\SoftReferenceCache.scala:147:
error: wrong number of arguments for constructor Object: ()jav
a.lang.Object
[WARNING] queue: ReferenceQueue[Any]) extends
SoftReference[V](v, queue) {
[WARNING] ^
[WARNING]
D:\user\liftweb\lift-util\src\main\scala\net\liftweb\util\TemplateCache.scala:17:
error: value util is not a member of package net.java
[WARNING] import java.util.{Locale}
[WARNING] ^
[WARNING] 13 errors found
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] command line returned non-zero value:1
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 52 seconds
[INFO] Finished at: Wed Jul 29 12:57:45 CST 2009
[INFO] Final Memory: 21M/38M
[INFO]
------------------------------------------------------------------------
D:\user\liftweb>
Nile Black
On Wed, Jul 29, 2009 at 2:31 AM, David Pollak <[email protected]
> wrote:
>
>
> On Tue, Jul 28, 2009 at 11:05 AM, Naftoli Gugenheim
> <[email protected]>wrote:
>
>>
>> If it thinks import java.xxx is a relative import of net.java.xxx, then it
>> must be you're somehow building it with a net.java package in the classpath.
>> The question is why maven is building it with a different classpath than
>> it uses for everyone else, and why those imports don't start with _root_.
>
>
> Yeah... that's the problem. I wonder if he added some classes to his
> pom.xml file or if there's some global classpath that's bleeding into the
> Maven process.
>
>
>>
>>
>> -------------------------------------
>> TylerWeir<[email protected]> wrote:
>>
>>
>> "why i cann't see my post at group?"
>>
>> All new members are moderated to start with.
>>
>>
>> On Jul 27, 11:56 pm, nile black <[email protected]> wrote:
>> > why i cann't see my post at group?
>> >
>> >
>> >
>> > On Tue, Jul 28, 2009 at 11:48 AM, Nile Black <[email protected]>
>> wrote:
>> > > [INFO] Building Lift Utils
>> > > [INFO] task-segment: [install]
>> > > [INFO]
>> > >
>> ------------------------------------------------------------------------
>> > > [INFO] [resources:resources]
>> > > [INFO] Using default encoding to copy filtered resources.
>> > > [INFO] [yuicompressor:compress {execution: default}]
>> > > [INFO] nb warnings: 0, nb errors: 0
>> > > [INFO] [compiler:compile]
>> > > [INFO] Nothing to compile - all classes are up to date
>> > > [INFO] [scala:compile {execution: default}]
>> > > [INFO] Checking for multiple versions of scala
>> > > [INFO] Compiling 37 source files to D:\user\liftweb\lift-util\target
>> > > \classes
>> > > [WARNING] D:\user\liftweb\lift-util\src\main\scala\net\liftweb\util
>> > > \ConcurrentLock.scala:16: error: value util is not a member of package
>> > > net.java
>> > > [WARNING] import java.util.concurrent.locks._
>> > > [WARNING] ^
>> > > [WARNING] D:\user\liftweb\lift-util\src\main\scala\net\liftweb\util
>> > > \CurrencyZone.scala:69: error: value lang is not a member of package
>> > > net.java
>> > > [WARNING] } catch { case e: java.lang.NumberFormatException =>
>> > > {
>> > > [WARNING] ^
>> > > [WARNING] D:\user\liftweb\lift-util\src\main\scala\net\liftweb\util
>> > > \CurrencyZone.scala:72: error: value text is not a member of package
>> > > net.java
>> > > [WARNING] } catch { case e:
>> > > java.text.ParseException => {
>> > > [WARNING] ^
>> > > [WARNING] D:\user\liftweb\lift-util\src\main\scala\net\liftweb\util
>> > > \CurrencyZone.scala:103: error: value math is not a member of package
>> > > net.java
>> > > [WARNING] make(new BigDecimal(this.amount.bigDecimal.divide
>> > > (that.amount.bigDecimal, scale, java.math.BigDecimal.ROUND_HALF_UP)) )
>> > > [WARNING]
>> > > ^
>> > > [WARNING] D:\user\liftweb\lift-util\src\main\scala\net\liftweb\util
>> > > \IOHelpers.scala:104: error: value io is not a member of package
>> > > net.java
>> > > [WARNING] def doClose[T](is: java.io.Closeable*)(f : => T): T = {
>> > > [WARNING] ^
>> > > [WARNING] D:\user\liftweb\lift-util\src\main\scala\net\liftweb\util
>> > > \Mailer.scala:84: error: value util is not a member of package
>> > > net.java
>> > > [WARNING] import java.util.Properties
>> > > [WARNING] ^
>> > > [WARNING] D:\user\liftweb\lift-util\src\main\scala\net\liftweb\util
>> > > \PCDataMarkupParser.scala:187: error: value io is not a member of
>> > > package net.java
>> > > [WARNING] import java.io.ByteArrayInputStream
>> > > [WARNING] ^
>> > > [WARNING] D:\user\liftweb\lift-util\src\main\scala\net\liftweb\util
>> > > \Props.scala:178: error: value io is not a member of package net.java
>> > > [WARNING] import java.io.{ByteArrayInputStream}
>> > > [WARNING] ^
>> > > [WARNING] D:\user\liftweb\lift-util\src\main\scala\net\liftweb\util
>> > > \Props.scala:179: error: value util is not a member of package
>> > > net.java
>> > > [WARNING] import java.util.InvalidPropertiesFormatException
>> > > [WARNING] ^
>> > > [WARNING] D:\user\liftweb\lift-util\src\main\scala\net\liftweb\util
>> > > \SoftReferenceCache.scala:3: error: value lang is not a member of
>> > > package net.java
>> > > [WARNING] import java.lang.ref.{ReferenceQueue,SoftReference};
>> > > [WARNING] ^
>> > > [WARNING] D:\user\liftweb\lift-util\src\main\scala\net\liftweb\util
>> > > \SoftReferenceCache.scala:4: error: value util is not a member of
>> > > package net.java
>> > > [WARNING] import java.util._
>> > > [WARNING] ^
>> > > [WARNING] D:\user\liftweb\lift-util\src\main\scala\net\liftweb\util
>> > > \SoftReferenceCache.scala:147: error: wrong number of arguments for
>> > > constructor Object: ()jav
>> > > a.lang.Object
>> > > [WARNING] queue: ReferenceQueue[Any]) extends
>> > > SoftReference[V](v, queue) {
>> > > [WARNING] ^
>> > > [WARNING] D:\user\liftweb\lift-util\src\main\scala\net\liftweb\util
>> > > \TemplateCache.scala:17: error: value util is not a member of package
>> > > net.java
>> > > [WARNING] import java.util.{Locale}
>> > > [WARNING] ^
>> > > [WARNING] 13 errors found
>> > > [INFO]
>> > >
>> ------------------------------------------------------------------------
>> > > [ERROR] BUILD FAILURE
>> > > [INFO]
>> > >
>> ------------------------------------------------------------------------
>> > > [INFO] command line returned non-zero value:1
>> > > [INFO]
>> > >
>> ------------------------------------------------------------------------
>> > > [INFO] For more information, run Maven with the -e switch
>> > > [INFO]
>> > >
>> ------------------------------------------------------------------------
>> > > [INFO] Total time: 1 minute 15 seconds
>> > > [INFO] Finished at: Tue Jul 28 11:47:44 CST 2009
>> > > [INFO] Final Memory: 22M/39M
>> > > [INFO]
>> > >
>> ------------------------------------------------------------------------
>>
>>
>>
>>
>
>
> --
> Lift, the simply functional web framework http://liftweb.net
> Beginning Scala http://www.apress.com/book/view/1430219890
> Follow me: http://twitter.com/dpp
> Git some: http://github.com/dpp
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---