Max Loukianov

Greenhorn
+ Follow
since Oct 07, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Max Loukianov

You have an option of putting it into your local Maven repository and then describing the dependency in your project.xml file:

<dependency>
<groupId>your_company<groupId>
<artifactId>your_library_name</artifactId>
<version>1.3</version>
</dependency>

then the jar file will have to be located at:

maven/repository/your_company/jars/your_library_name-1.3.jar

Hope this helps.

max@jbossfaq.com
---------------
http://www.jbossfaq.com is hosted on JBoss at http://www.thebeanfactory.com
[ January 15, 2005: Message edited by: Max Loukianov ]
19 years ago
I suspect the old JAR is still in the classpath; try to shut down app server and then restart it.

max@jbossfaq.com
-------------------
################################
max@jbossfaq.com @ http://www.jbossfaq.com
JBoss hosting provided by theBeanContainer.com
http://www.theBeanContainer.com
################################

Originally posted by Ashish Uniyal:
Hi everybody,
I got some problem in customising the JAAS sample code, I was refering to
http://java.sun.com/security/jaas/doc/api.html#Sample, though I executed the sample code sucessfully, but when i tried to alter the code (Just inserted few System.out.println()), and recompiled the code and rewrite the existing JAR, and tried to run it again, it gives me the following exception.

Exception in thread "main" java.lang.NoClassDefFoundError: sample/Sample.

What could be possible reason of getting such exception? even though all the jars and class files are in the CLASSPATH


Ashish Uniyal
SCPJ2

19 years ago
http://www.thebeancontainer.com offers plans for as low as $9.99 per month; from what I know they host EJBs on shared JBoss servers (currently running 3.2.x) and have bunch of open source software alredy loaded onto the servers.
HTH,
/max
[ October 07, 2003: Message edited by: Max Loukianov ]