Imported Library - NoClassDefFoundError

Imported Library - NoClassDefFoundError
Hi
I created a shared library and imported it in my application using orion-application.xml
<imported-shared-libraries>
<import-shared-library name="amc.common" max-version="1.0"></import-shared-library>
</imported-shared-libraries>
When I run the application I get NoClassDefFoundError when accessing a class in the Shared library.
I Know the Jar is Ok as the application works fine when I build the .jar into WEB-INF/lib
When I check ClassLoader using system Mbean, I can see that the shared library is imported by my Web Application. So why it is failing to find the class ?
What else need to be done in the application to load the classes that are in the shared library ?
Aimey

Hi,
there is nothing specific that needs to be done on an application side. However, my best advise is to ask this question on the OC4J forum as I am not an expert in share libraries and known issues with it
Frank

Similar Messages

  • Intermittent import library generation failure building 64-bit binary in Visual Studio 2013

        I have a 64-bit c++ project that randomly fails to build because the import library generation silently fails in the link step.  I have scoured the "diagnostic level" log trying to find some hint at why the import library
    fails to be created, but there doesn't seem to be any information.
        It's pretty random.  When it fails, I can do a clean build and everything builds.  After a successful build, I can do another clean rebuild and see it fail again.
        The 32-bit version consistently builds fine.  I see the 64-bit problem regularly in any configuration (Release or Debug).
        I'm running VS2013 Update 2 RC.
        Any hints on how to debug this?  Is this a known issue for which there is a patch?

    Hi Anna, thanks for the reply.  Yes, this does reproduce in MSBuild if you specify a rebuild.  As mentioned previously, if you do a clean and build, even through MSBuild, the build succeeds every time.  
    There's no way for me to create a sample project.  Our codebase is quite large and this doesn't reproduce for simple example projects.  
    There is no error message when the iTunes.lib import library fails to build.  The import library is used in a dependent project and that fails in a way you would probably expect (complains about a missing .lib)...
    Here's the relevant section from my diagnostic build output.
    16>  Tracking command: (TaskId:92)
    16>  C:\Program Files (x86)\MSBuild\12.0\bin\Tracker.exe /a /d "C:\Program Files (x86)\MSBuild\12.0\bin\FileTracker.dll" /i C:\Users\psansone\iTunes\BuildResults\Debug64\intermediates\iTunesLauncher\iTunesLauncher.tlog /r "C:\USERS\PSANSONE\ITUNES\BUILDRESULTS\DEBUG64\BIN\ITUNES.LIB|C:\USERS\PSANSONE\ITUNES\BUILDRESULTS\DEBUG64\INTERMEDIATES\ITUNESLAUNCHER\APPLEAPPLICATIONSUPPORT.OBJ|C:\USERS\PSANSONE\ITUNES\BUILDRESULTS\DEBUG64\INTERMEDIATES\ITUNESLAUNCHER\ITUNESLAUNCHER.OBJ|C:\USERS\PSANSONE\ITUNES\BUILDRESULTS\DEBUG64\INTERMEDIATES\ITUNESLAUNCHER\ITUNESLAUNCHER.RES|C:\USERS\PSANSONE\ITUNES\BUILDRESULTS\DEBUG64\INTERMEDIATES\ITUNESLAUNCHER\VISUALSTUDIOPREFIX.OBJ"
    /b MSBuildConsole_CancelEvent293fb138735a4f31a04ade4d72d60766  /c "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64\link.exe"  /ERRORREPORT:PROMPT /OUT:"C:\Users\psansone\iTunes\BuildResults\Debug64\bin\iTunes.exe" /INCREMENTAL:NO
    /NOLOGO comctl32.lib libcmtd.lib libcpmtd.lib shlwapi.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /NODEFAULTLIB /MANIFEST:NO /DEBUG /PDB:"C:\Users\psansone\iTunes\BuildResults\Debug64\bin\iTunes.exe.pdb"
    /SUBSYSTEM:WINDOWS /STACK:"1048576","262144" /TLBID:1 /DYNAMICBASE /FIXED:NO /NXCOMPAT /IMPLIB:"C:\Users\psansone\iTunes\BuildResults\Debug64\bin\iTunes.lib" /MACHINE:X64 C:\Users\psansone\iTunes\BuildResults\Debug64\intermediates\iTunesLauncher\iTunesLauncher.res
    16>  C:\Users\psansone\iTunes\BuildResults\Debug64\intermediates\iTunesLauncher\AppleApplicationSupport.obj
    16>  C:\Users\psansone\iTunes\BuildResults\Debug64\intermediates\iTunesLauncher\VisualStudioPrefix.obj
    16>  C:\Users\psansone\iTunes\BuildResults\Debug64\intermediates\iTunesLauncher\iTunesLauncher.obj
    16>  C:\Users\psansone\iTunes\BuildResults\Debug64\bin\iTunes.lib (TaskId:92)
    16>LINK : fatal error LNK1181: cannot open input file 'C:\Users\psansone\iTunes\BuildResults\Debug64\bin\iTunes.lib'
    Here's the relevant part of the build log from the linker step that should build iTunes.lib (the import library that fails to build).
    15>     Creating library C:\Users\psansone\iTunes\BuildResults\Debug64\bin\iTunes.lib and object C:\Users\psansone\iTunes\BuildResults\Debug64\bin\iTunes.exp (TaskId:92)
    15>Done executing task "Link". (TaskId:92)
    15>Task "Message" (TaskId:93)
    15>  Task Parameter:Text=iTunesDLL.vcxproj -> C:\Users\psansone\iTunes\BuildResults\Debug64\bin\iTunes.dll (TaskId:93)
    15>  Task Parameter:Importance=High (TaskId:93)
    15>  iTunesDLL.vcxproj -> C:\Users\psansone\iTunes\BuildResults\Debug64\bin\iTunes.dll (TaskId:93)
    15>Done executing task "Message". (TaskId:93)
    15>Done building target "Link" in project "iTunesDLL.vcxproj".: (TargetId:209)
    15>Target "MetaGenInputsOutputs" skipped, due to false condition; ('$(EnableManagedIncrementalBuild)' == 'True') was evaluated as ('false' == 'True').
    15>Target "ComputeMetaGenInputs" skipped, due to false condition; ('$(CLRSupport)'!='' and '$(CLRSupport)'!='false') was evaluated as ('false'!='' and 'false'!='false').
    15>Target "MetaGen" skipped, due to false condition; ('@(MetaGen)' != '') was evaluated as ('' != '').
    15>Target "ComputeLinkImportLibraryOutputsForClean: (TargetId:210)" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets" from project "C:\Users\psansone\iTunes\iTunes\Projects\iTunesDLL.vcxproj" (target "_Link" depends
    on it):
    15>Task "WriteLinesToFile" (TaskId:94)
    15>  Task Parameter:File=C:\Users\psansone\iTunes\BuildResults\Debug64\intermediates\iTunesDLL\iTunesDLL.tlog\iTunesDLL.write.1u.tlog (TaskId:94)
    15>  Task Parameter:
    15>      Lines=
    15>          ^C:\Users\psansone\iTunes\iTunes\Projects\iTunesDLL.vcxproj
    15>          C:\Users\psansone\iTunes\BuildResults\Debug64\bin\iTunes.lib
    15>          C:\Users\psansone\iTunes\BuildResults\Debug64\bin\iTunes.exp (TaskId:94)
    15>  Task Parameter:Encoding=Unicode (TaskId:94)
    15>Done executing task "WriteLinesToFile". (TaskId:94)
    15>Done building target "ComputeLinkImportLibraryOutputsForClean" in project "iTunesDLL.vcxproj".: (TargetId:210)
    15>Target "AfterLink: (TargetId:211)" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets" from project "C:\Users\psansone\iTunes\iTunes\Projects\iTunesDLL.vcxproj" (target "_Link" depends on it):
    15>Done building target "AfterLink" in project "iTunesDLL.vcxproj".: (TargetId:211)
    15>Target "_Link: (TargetId:212)" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets" from project "C:\Users\psansone\iTunes\iTunes\Projects\iTunesDLL.vcxproj" (target "_BuildLinkAction" depends on it):
    15>Done building target "_Link" in project "iTunesDLL.vcxproj".: (TargetId:212)

  • Re-importing library & Problems

    Hi all,
    First time writing to the iPhoto board. How y'all doin?
    History:
    I exported my original iphoto library from my ibook to an external HD (holding down the option button and since then I've bought an intel imac.
    What happened:
    I've tried importing my library "File">"Import Library" (I have over 12,000 pics) to my imac but it only organized it by year 2004, 2005 and forgot my albums, their names, the way they were put and placed.
    Question:
    Can I import my library from the ext. HD to my imac and have it match the external drive exactly???
    btw... I have the newest iphoto (if that helps)

    I exported my original iphoto library from my ibook to an external HD (holding down the option butto
    Do you mean to say you copied the entire iPhoto Library folder over the the external HD via the Finder? If so, you only need to copy that folder back to the Pictures folder on your new Mac and launch iPhoto. No need to import into a new library from the folder on the HD. All you'll get that way are photos in the library, no albums, keywords, etc.

  • Import & Library handling Question!

    Is it possible to do the following 100% successfully?:
    1. Import images from CF card into LR
    2. cull in another program
    3. create a new folder on hard drive &  move all RAWs to be edited into this new folder
    4. Import the choosen images to be edited into LR -  from this new folder created on the hard drive (without them being linked ot the original import library when they were uploaded from the CF card)
    5. send them out as small DNGs to editor
    6. then receive the XMP files back in LR to update the RAWs with edits by dropping the XMPs ito the new folder that was created for images to be edited and let the RAWs update
    7. save the updated RAWs that now have the edits applied from XMPs somehow (in RAW format still)
    8. move onto Photoshop (ACR) to do any last touch-ups of my own, save as JPG, submit to client. 
    Thank you in advance!!!

    As I said, there is no such thing as "small DNGs", maybe they mean "Lossy DNGs"? Perhaps you ought to confirm that's what they mean.
    They edit my images and return them as XMP files.
    Well, that's interesting. Lightroom offers no way to create XMP files from editing DNG files. Perhaps they have a plug-in or other way to do so. Technical correction ... they don't return the images as XMP files, they return the edits as XMP files
    They instructed me to drag and drop the XMPs into the file folder that the RAW images are in and watch them update in LR.
    This doesn't happen by itself. You would have to go into Lightroom, select the desired RAW files, and then issue the command Metadata->Read Metadata from Files
    Once they are updated, they can get converted to JPG for client
    Once they are updated, you can Export them as a JPG
    What I want to know is, if I were to use LR to import and rename my files for me, save to one file folder on hard drive. Then cull the images manually, and create a "to be edited" fil folder - drag and drop the RAWs into that file folder.  Can I re-import the files into LR from that new folder?  ***Will LR recognize them as previously imported images linked to the orginal uploaded library, OR will LR link these reimported images to the "to be edited" folder that I created????
    You are creating extra work for yourself. The idea of moving photos to a specific folder and reimporting is completely unnecessary here. Once they are in Lightroom, select the desired photos, assign a piece of metadata to those photos you want (color label, flag, keyword or whatever), and export as DNG for your editing service. No need to move the photos, and no need re-import. This takes you much less time than creating a new folder, moving the photos and reimporting.
    Why are you even using Lightroom here, as you don't seem to need any of Lightroom's features. Why not use Bridge/ACR?

  • No Import Library option in iTunes 10

    I just had iTunes throw the "locked library" error on me, and one solution I heard of was moving all db out of the iTunes folder and then re-importing 'iTunes Music Library.xml' into iTunes.
    According to step 7 in the knowledge base article on Apple's support pages (http://support.apple.com/kb/ht1451) from last September, I was supposed to accomplish this simply by +7. Choose File > Library > Import Playlist.+
    In my iTunes 10 this is not an option! I can backup, export, and organize, but not import. Wonder what the use of backup your db is when you cannot reimport it ... Any ideas on how to import the xml version of the db?

    I really need to learn how to read and write some day.
    I was focusing so hard on finding the option "Import Library", that I actually thought the KB article said just that in step 7. It was not until you said there was indeed such an option that I recognized the fact that it said playlist.
    It did indeed work, but I still find it curious that they dumped the functionality concerning importing of +music libraries+ into the same option as the one concerning +importing of playlists+.
    Anyhooow, thanks for pointing out the obvious. I actually needed it
    Message was edited by: fatso83

  • Can't import library from another computer

    I used to be able to sync my aperture libraries from my iMac to my MacBook Pro. I just would use the import Library/Project option and it worked perfectly. Now Aperture just hangs when I try to do it and I can't get it to work.
    Does anyone have any ideas?

    On the new laptop, launch iTunes. From the menu bar click Store / Authorize This Computer.
    iTunes Store: Transferring purchases from your iPhone, iPad, or iPod to a computer

  • Can't get imported library items to appear on stage

    Hello,
    I am new here and I am trying to get my imported library images to appear on the stage. I am using the CS4 version and when I click on the library item and drag it to the stage, there is nothing there. It is just a blank canvas and it's like the image(s) are hidden behind the stage or something. When I do a Publish Preview, I can see the .swf file with all the images, but in the .fla, there is nothing showing but the text files, and then that is even hidden in a newly created file. I am not sure if I accidently turned something on/off that is preventing my images from not showing on the stage or what. I really need to find a solution to this problem because I need to create a Flash file for a project I am working on in one of my classes. Does anyone know what could be causing this? I have done Google searches and Forum searches to no avail unless I'm not using the right keywords in my search. I have downloaded every available update that is out there for Adobe and it didn't fix my issue. Thanks in advance.

    No, this didn't work. When I went and viewed the same files on another computer, the .fla shows everything. I just may have to work on that computer for now until I can figure out why my images aren't showing up on this one. I'll compare the settings on both and and may just have to uninstall and reinstall the software to get it to work. Thanks!

  • Aperture 3.1 won't Import Library over Local Area Network

    I have upgraded three Macs on an ethernet LAN. One is the "master" and I periodically Import its Library to the other machines to bring them up to date. This has worked fine since v. 3.0 came out.
    With 3.1 I can't Import Library over the LAN. On the target computer I navigate to the "master" computer, select its library, hit go, and Aperture on the target machine does nothing for a few seconds and then hangs with a spinning beachball. I have to force quit.
    I have made small test libraries on each machine and confirmed that I can't Import to any machine from any other over the ethernet. But I can use the Finder to drag a Library from one machine to another's desktop over the LAN--and then Import Library from the desktop works fine.
    I've done all the usual: repair permissions, database, and eventually restore from Vault. I've reinstalled v. 3.0. Get Info informs me that all the libraries are 3.1. As far as I can see, nothing else is broken. LAN networking works fine for everything but Aperture.
    Does anyone else see the same problem? Any suggestions?

    Me too. Upgraded both libraries to 3.1, rebuilt both libraries to see if that would help ... but no ... no way I can get one to merge with the other over Wi-Fi. Used to work fine in 3.0. I suppose I will have to try with a FW cable and the MacBook Pro in Target Mode - hopefully that will work in the short-term.

  • Error while importing library

    Hello,
    I am trying in linux (UBUNTU) access from LabVIEW 8.5.1 oracle database . I am trying to use OCILIB library, but during importing library LabVIEW close and I have got segmentation fault.
    During calling single functions from that library is the same. Example below:
    "LabVIEW caught fatal signal
    8.5.1 - Received SIGSEGV
    Reason: address not mapped to object
    Attempt to reference address: 0xbfb3bc12
    Segmentation fault"
    What am I doing wrong??

    Hi
    Try to go through information on http://digital.ni.com/public.nsf/websearch/EB202A7​8FB1D083186257117005CEF21?OpenDocument and follow the link to http://www.ni.com/linux. Maybe it will help
    Best regards
    Barbara

  • Aperture 3 - Error Importing Library

    Hi folks!
    My Macbook's hard drive crashed so I had to reinstall OSX 10.6 and use the time machine to bring the stuff back.
    After reinstalling everything I also updated OSX to 10.6.7 and and finally updated Aperture to 3.1.2 via App Store.
    Then I tried to open the Aperture 3 and this happened:
    Error Importing Library
    Now if I go to File/Switch to Library/Other/New... there is a new library called "Aperture Library (current default)"  (Version 3.1.2) including zero versions and masters.
    My old library is automatically renamed as "Aperture Library_Original" including 17xxx versions... (Version 3.1.1)
    I've tried to rebuild the library etc etc but it won't do it and gives the same Error Importing Library error all the time.
    Now I even reinstalled everything again, installed 10.6.6 and now my Aperture is also 3.1.1. Still the same error comes..
    Do you guys/girls have any idea what to try next?
    Thank you in advance!
    Tohlo
    Finland

    Oops, not sure whether using References or Managed.. But I would bet that Managed..
    Those other 2010 folders are from the time before Aperture 3, I purchased Aperture about 2 months ago via App Store.
    Default Picture folder contains Aperture Libraries, iPhoto library, Photo Booth folder and few of those random 2010_ picture folders.. Don't even know why those are there anyway..
    but but.. I'm now already starting to think that I've almost all of the pics in iPhoto..
    If in Finder I right-click my old Aperture Library and choose "Show content" (or something like that, my OSX is in Finnish) -  I'm able to find those few new albums and their photos which are not in iPhoto.. If I just copy those to iPhoto and Import it again.. Naturally I would loose the project structure I've created in Aperture and few edited photos.. but at least I would get my Aperture back again and forget that this incident ever happened..

  • Import library

    I try to import a library in aperure, it seems all working ok but the library is not imported and i have no masters in file library

    but the library is not imported and i have no masters in file library
    Do you import the library with "File > Import > Library"?
    When you import, are you prompted, if you want to "merge" or to "add"?
    If you do not see this prompt, try to add an extra image to the library that you are importing, an image, that is also contained in the library you are importing to. Adding a duplicate image usually will force the "Add-Merge" dialogue to appear. Then select "Add" and not "Merge".
    Regards
    Léonie

  • Import Library Error two functions with same name on different namespaces

    Im trying impor a library developed by me. In this library have two functions ShowMenu. First function be inside into a class and its declared as
    void __fastcall TTrayicon:howMenu(). The second function has declared as extern "C" __declspec(dllexport) ShowMenu(int x, int y).
    When i use de assistant to import this library i select the library and its header file. But in the next step the assistant show to me the first function.
    Anyone explain what's happen?

    I'm not sure what kind of answer you're looking for. LabVIEW's Import Library wizard does not always properly handle accessing functions in standard C++ DLLs. See this for more info.

  • "Import Library"  not found in iTunes 8?

    Hello, I finally made the PC-to-Mac switch this week. I'd like to bring my iTunes library over from the PC (and maintain ratings, play counts, etc.), and I've found various instructions on how to do so. However, the instructions call for exporting the library into an XML file (Library.xml) on the PC, then transferring it to the Mac and Importing it into iTunes on the Mac.
    I cannot find the "Import Library" menu option in iTunes 8. Am I missing it? Is it hidden in another menu? Why would they allow you to export the library if you couldn't import it again?
    Thanks in advance for any assistance!

    CasperGemini wrote:
    Looks like maybe not all of the support documentation has been fully updated...
    Unfortunately, that happens all too often when new features are added to iTunes. Keeping iTunes help current seems to be less-than-low priority. iTunes Help is also due for an overhaul. When the help for Office:mac is better designed and more thorough in providing details, examples, etc., than the help for software designed by Apple, something is not right in the universe.

  • New user here.  Trying to import iPhoto 9.4.2 libraries into Aperture 3.4.3 as referenced files. When accessing File Import Library, it finds the iPhoto library just fine, but then imports it as Master files. No option that I can find to leave the photos

    New user here.  Trying to import iPhoto 9.4.2 libraries into Aperture 3.4.3 as referenced files. When accessing File>Import>Library, it finds the iPhoto library just fine, but then imports it as Master files. No option that I can find to leave the photos in place on the file system.  All the literature says their should be an option to choose, but I never get that option.  What?

    All the literature says their should be an option to choose, but I never get that option.
    That has been true for the previous Aperture versions. Now Aperture simply treats the original image files exactly as they are in the imported library. Referenced images will stay referenced, managed will be imported as managed. But you can always relocate the imported managed images afterwards by using "File > Relocate".
    Regards
    Léonie

  • Can you find the imported Library ? My system can't !

    Dear People,
    In making a first attempt to do an applet in JBuilder7 rather
    than from the Dos prompt my imported library is not being found . Here are the steps I did.
    1) deleted all the premade source code on the scrren and
    keyed in my applet code "MakeBox.java"
    2) went to Tools | Configure Libraries
    I saw on the left "User Home " and under that i saw
    "objectdraw"
    3) under the class tab I saw:
    [ C:/WINDOWS/jbproject/objectdraw.jar ]
    4) at the Required Libraries tab I saw:
    "objectdraw"
    the error message I get when I try to compile the class is:
    "MakeBox.java": Error : cannot access directory objectdraw at
    line 6
    below is the source code
    Thank you in advance
    Stan
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.*;
    import objectdraw.*;
    public class MakeBox extends WindowController
    public void begin()
    public void onMousePress(Location point)
    new FilledRect(30,150,30,20,canvas);

    I don't know if this is your problem or not, but whenever JBuilder decides it doesn't like me I usually have to go do this:
    1)Project Menu
    2)Project Properties
    3)Paths tab
    4)make sure your working directory is right
    5)get rid of the /test in the path of the second radiobuttoned option
    maybe that will help, maybe not...its what I do and it usually work.

Maybe you are looking for

  • Can´t download an app I bought.

    Hello, I bought an app called english prepositions, I already received the invoice but I can´t download or install it. It keeps send me the message no se ha podido descargar la aplicación. Where Can I ask for a refund of my money? thanks I bought oth

  • Mac OS X 10.5 stuck on grey start up apple logo

    Ok so here's the whole story. First, I was warned for not having enough free space. Therefore, I decided to delete large files. I went on Finder then Command+F to search files by size greater than 1 GB. So, it showed all the files that I was looking

  • Adobe Acrobat 7.0 Professional

    I just received a new laptop and downloaded my AA 7.0 Professional.  I received an error code saying that Set Up was unable to creat a new item: Adobe PDF Port_Printer.  The Adobe PDF Printer may be unavailable.  Anybody have any ideas how to correct

  • Got confused!! MDSYS.SDO_WITHIN_DISTANCE (8.1.7),

    I used the following query to select GID whose GEOM is within some distance from a point, circle, polygon and rectangle. It works well in 8.1.6 version. When I upgrade from 8.1.6 to 8.1.7, only rectangle one works and other shapes end with a message

  • I have a 6800 ultra in my powermac, what temp should it be?

    I have a 6800 ultra in my powermac 2.7, what temp should it be? right now the case is between 111-120 F and the chip is between 150-160F.... is this the temperature that it should be running in? also, is the only difference between the ultra and the