Hello
I installed all the files listed in pre-requisites, but i got such
errors in ant when I try to build smsserver. Looks that the logger
isn't found, but I placed the log4j-1.2.15.jar in both jdk\jre\lib\ext
and jre\lib\ext folders.
As I wish just the smsserver to run standalone, there is such thing
like a pre-build version of it?
Here are the error dump:
C:\smslib-v3.4.5>ant clear
Buildfile: C:\smslib-v3.4.5\build.xml
BUILD FAILED
Target "clear" does not exist in the project "smslib".
Total time: 0 seconds
C:\smslib-v3.4.5>ant build-smsserver
Buildfile: C:\smslib-v3.4.5\build.xml
compile.smsserver:
[javac] C:\smslib-v3.4.5\build.xml:92: warning:
'includeantruntime' was not set, defaulting to build.sysclasspath=la
st; set to false for repeatable builds
[javac] Compiling 127 source files to C:\smslib-v3.4.5\dist
\classes
[javac] C:\smslib-v3.4.5\src\java\org\smslib\Service.java:110:
package org.slf4j does not exist
[javac] public Service(org.slf4j.Logger logger)
[javac] ^
[javac] C:\smslib-v3.4.5\src\java\org\smslib\helper\Logger.java:
27: package org.slf4j does not exist
[javac] org.slf4j.Logger logger;
[javac] ^
[javac] C:\smslib-v3.4.5\src\java\org\smslib\helper\Logger.java:
37: package org.slf4j does not exist
[javac] public Logger(org.slf4j.Logger myLogger)
[javac] ^
[javac] C:\smslib-v3.4.5\src\java\org\smslib\helper\Logger.java:
42: package org.slf4j does not exist
[javac] public org.slf4j.Logger getLogger()
[javac] ^
[javac] C:\smslib-v3.4.5\src\java\org\smslib\Service.java:100:
reference to Logger is ambiguous, both method Logger(
org.smslib.Settings) in org.smslib.helper.Logger and method
Logger(org.slf4j.Logger) in org.smslib.helper.Logger match
[javac] this.logger = new Logger(getSettings());
[javac] ^
[javac] C:\smslib-v3.4.5\src\java\org\smslib\helper\Logger.java:
34: package org.slf4j does not exist
[javac] this.logger =
org.slf4j.LoggerFactory.getLogger("smslib");
[javac] ^
[javac] 6 errors
BUILD FAILED
C:\smslib-v3.4.5\build.xml:92: Compile failed; see the compiler error
output for details.
Total time: 2 seconds
C:\smslib-v3.4.5>
--
You received this message because you are subscribed to the Google Groups
"SMSLib User Group" 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/smslib?hl=en.