[jboss-user] [Advanced Documentation] - jboss4guide v5 example does not compile
wenjie_tong
do-not-reply at jboss.com
Tue Aug 8 21:23:40 EDT 2006
I have downloaded jboss AS 4.04GA and jboss4guide example code. I tried to compile the example code, but allways get error as:
E:\JBOSSD~1\JBOSS4~1\examples>ant
Buildfile: build.xml
validate:
fail_if_not_valid:
init:
[echo] Using jboss.dist=D:/jboss-4.0.4.GA
compile:
[javac] Compiling 139 source files to E:\JBOSSD~1\JBOSS4~1\examples\output\classes
[javac] E:\JBOSSD~1\JBOSS4~1\examples\src\main\org\jboss\chap8\ex3a\service\DistributedCacheService.java:20: package org.jboss.ha.framework.server.util does
exist
[javac] import org.jboss.ha.framework.server.util.DistributedTimedCachePolicy;
[javac] ^
[javac] E:\JBOSSD~1\JBOSS4~1\examples\src\main\org\jboss\chap8\ex3a\service\DistributedCacheService.java:37: cannot find symbol
[javac] symbol : class DistributedTimedCachePolicy
[javac] location: class org.jboss.chap8.ex3a.service.DistributedCacheService
[javac] private DistributedTimedCachePolicy cache;
[javac] ^
[javac] E:\JBOSSD~1\JBOSS4~1\examples\src\main\org\jboss\chap8\ex3a\service\DistributedCacheService.java:47: cannot find symbol
[javac] symbol : class DistributedTimedCachePolicy
[javac] location: class org.jboss.chap8.ex3a.service.DistributedCacheService
[javac] cache = new DistributedTimedCachePolicy(jndiName, partitionName, cacheTimeout);
[javac] ^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 3 errors
BUILD FAILED
E:\JBOSSD~1\JBOSS4~1\examples\build.xml:85: Compile failed; see the compiler error output for details.
The only thing I did is change is jboss.dist
I have no idea where class DistributedTimedCachePolicy is located .
Please give me some clue,
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963941#3963941
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963941
More information about the jboss-user
mailing list