Eclipse using Glassfish 4.1 web project cannot load libraries in the directory modules

We installed the latest "Glassfish tools for Luna" (updated October 2, 2013) and created a new dynamic web project in Eclipse using Glassfish 4.1. When trying to annotate a class with "javax.enterprise.context.ApplicationScoped", he complains that "ApplicationScoped cannot be resolved to a type" well imported as 'import javax.enterprise.context.ApplicationScoped.

Check the 'glassfish-4.1/glassfish/modules/' directory and it has cdi - api .jar that contains the class ApplicationScoped. But when checking for libraries project in eclipse, impossible to see such a pot.

My configuration:

Eclipse 4.4

SDK runtime glassfish java: java 1.8.0_20

Java development kit project: java 1.8.0_20

Level of the compiler of the project: 1.8

Aspects of the project: module web Dynamic Java 1.8, 3.1, Glassfish, Web 4.0 Extensions and Javascript 1.0

How to solve this problem?

Thank you.

It seems that the cdi - api .jar is new to GlassFish 4.1 and tooling does not yet account for her. I'll open a bug as a result. In the meantime, you can work around this problem by manually adding the jar to the path of the project as an external library is compiled.

Tags: Java

Similar Questions

  • I tried to burn some pictures with music on a DVD using Windows DVD maker, but others cannot open or run the disc. I tried to use DVD-R and DVD + R, but nothing works. Any suggestions?

    I have created a slideshow with background music using Windows DVD maker on a DVD-R and DVD + R and others cannot open or run the disc. I can't run into a DVD player, but my computer it plays very well. Any suggestions?

    Lol it won't play in my DVD player either. Just the computer.

    =====================================
    This could be a hardware problem with your DVD writer
    but here's something you can try.

    Create your slideshow (photos and music) in the film
    Creator of... and then publish the file to a folder on your hard drive
    walk in the .wmv format.

    Windows Vista
    Getting started
    Windows Movie Maker
    http://Windows.Microsoft.com/en-us/Windows-Vista/getting-started-with-Windows-Movie-Maker

    Windows Vista-
    Publish a movie in
    Windows Movie Maker
    http://Windows.Microsoft.com/en-us/Windows-Vista/publish-a-movie-in-Windows-Movie-Maker

    Then try to use the following free software to burn your DVD:

    (FWIW) It's always a good idea to create a system
    Restore point before installing software or updates)

    DVD Flick
    http://www.dvdflick.NET/

    Be sure to read the Guide:
    http://www.dvdflick.NET/Guide.php

    If you have problems to download DVD Flick...
    Try the following direct link:
    http://tinyurl.com/yzx9sck
    or...
    http://downloads.sourceforge.NET/project/dvdflick/dvdflick/DVD%20Flick%201.3.0.7/dvdflick_setup_1.3.0.7.exe?use_mirror=SoftLayer

    Save the file to a folder on your hard drive and
    install from there.

    Tutorials:

    Tutorial DVD Flick
    http://beginwithsoftware.com/videoguides/DVD-flick-Guide.html

    Burn any Format video DVD PC
    http://www.freevideoworkshop.com/dvdflicktutorial.htm

    To create a video DVD base that should play in a free
    permanent drive DVD... try the following...

    Good luck.

    First... read the DVD Flick Guide to familiarize
    with the program.

    Open DVD Flick and insert a blank DVD in your drive.

    If the window of Autorun from your computer... just close it.

    Click the project settings button and check... Video /.
    Target format... residents United States... Choose... NTSC /.
    Accept.

    The title button left click Add and navigate to your
    Video clips and select the ones you want on the DVD.

    You can have by selecting one and then use
    the up and down buttons.

    Left click on the button create DVD / OK / Yes / Yes.

    Please wait while the DVD is created.

    When the text "Completed successfully" is displayed you
    DVD Flick can close. Now you can eject your DVD
    and play in your DVD player.

    At some point you might want to buy more
    Advanced Cyberlink, Nero, Roxio, software
    Ulead, etc... but at least it is a start.

    Good luck.

    John Inzer - MS - MVP - digital media experience

  • Captivate CS4: Cannot load or save the project home page

    Hello

    I have some licenses of the eLearning suite 1, including Adobe Captivate CS4. It works on different computers and OS, I installed, but on the last set of the computer, we received (ASUS U30JC + WIN 7 64BITS), I have an unresolved bugs.

    When I launch the app (in admin mode) and get to the homepage (where I could choose a project to load, or a new project of theme), I can't LOAD everything. CP file, if I choose to launch to save, I can't SAVE it...

    If all goes well, I was able to start a blank project, then I could get seriously into CS4 Captivate.

    It seems to be really tied to the ASUS U30JC series, not specifically for Win7 64 bit, as I tested it Captivate on the same operating system in an older Sony SR29, it works very well.

    May be due to the Nvidia 310 M graphics card?

    Here's the info from the PC

    ASUS U30JC

    WIN 7 64 BIT

    HD: 500 GB hybrid
    NVIDIA 310M
    Core i5
    4 GB memory

    I hope that someone will be albe to help me;!

    Hello Cybor,

    When Captivate 4 was built, Windows 7 has not yet launched, even if you check the minimum system requirements for Captivate 4, you will find Windows 7 is not taken in charge, attached screenshot:

    If it worked on your Sony laptop that was by chance!

    Captivate 4 has not been tested on Windows 7 by Adobe, hope this helps

    Thank you

    Vikram

  • My Skype ID cannot be found in the directory.

    I have tried my Skype ID and also mail electronic but couldn't find me in the directory. The nickname I had set is not found either. I am registered and also appear online. My friend could not get either of these methods. I have it set to public so it can be found. It just says not: no results found. I use my microsoft account to connect. I've had people me before adding without problem. I use Skype more up-to-date. I even tried to search in my application on Kindlefire. I tried have only connected it on laptop only. Here, nothing seems to work. Please do not suggest that I ask them their email address or ID. I know about it. I want my ID to be available, so I can it add me, as he had been seized.

    It is not possible to search for your own code of Skype. This feature has been disabled a long time ago. However, your friends should be able to find using your registered e-mail address or your correct Skype name.

  • Satellite Pro L300D: Cannot install because of the common Modules control utility

    Hi guys,.

    I'm new to this forum, but I spent two days looking around.
    I have a sat Pro L300D that I'm downgrading to XP, because many are, and I can't get the touchpad to work or function buttons.

    One problem seems to be to install the utility 'controls', which gives the message "common modules" not installed even though it was the first pilot, I have installed.

    Does anyone have any suggestions?

    OK, here we go.
    Toshiba pilot European page doesn't provide drivers XP ALL, tools or utilities for the Satellite Pro L300D.
    Is this good? I checked the page and there are no. XP applications.

    So I came to the conclusion that the common Modules cannot be installed because this software was not designed for this series of portable and therefore, you receive this error message.
    It is clear!

    So Don t wonder what impossible to install "utility controls" or common modules. These pieces of software are not compatible

  • BlackBerry Smartphones cannot load games via the media manager-

    Hello

    I hope someone can shed some light on why I can't load any 8700 games on my Blackberry. I use the loader application media manager and every time it comes up with the following message:

    "The following modules can not be loaded because their digitalsignatures were not valid."

    The .cod files and my 8700v isn't about RIM 4.2

    Any help much appreciated.

    Sorted! -Read the thread elsewhere in the Forum about unlocking BES / IT restrictions - large frequently asked questions, worked a treat, thx

  • Why used to update Adobe If Acrobat is loaded on and the pc is started to the D: drive?

    Why used to update 7.1 if Adobe Acrobat is loaded on and the pc is started to the D: drive?

    The error refers to a matter of Administration on the C: drive

    I fixed it by renaming files Windows disk c (Vista)

    Kind regards

    Ross Ferguson 0409536096

    EnviroSecure Pty Ltd

    [removed email address]

  • box says "Do you use Yahoo toolbar on multiple computers" cannot get rid of the box. Do not accept the entry or nearby!

    The box has two buttons. They say 'save on my Yahoo! ID' the other said no thank you, "just save on this computer." I can press each button, but nothing seems to happen. The only way to get rid of the box is to close firefox. I use a HP s5713w-b and windows-7.
    I downloaded firefox with improvements to Yahoo.

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions of the origin of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

    In Firefox 4, you can use one of them to start in the questions to troubleshoot Firefox in Safe Mode:

    • Help > restart with disabled modules
    • Hold down the SHIFT key while double-clicking the shortcut from the desktop Firefox (Windows)
  • cannot activate or reinstall the security module of Avira (unsigned) browser to v43.0 FF

    Firefox has automatically (and without asking) disabled the browser security add-on Avira after my upgrade to v43.0. He refuses to allow me to re - activate. I then uninstalled and tried to re - install, but which is too rejected him - regardless if I have the xpinstall.signatures.required flag set to true or false.

    Is there another way I can get this add-on re-installed, or Firefox can simply no longer modules unsigned from v43.0? (If this is the case, it's unjustified behavior and too paternalistic, in my opinion, the user should have the last word on what can or cannot be added on.)

    I give it a try and I can see the issue.

    For security reasons, you are unable to install the extensions unsigned from any Web site. Instead, you will need to do the following:

    1. Go to the website of browser Avira Security
    2. Make a right click the Add to Firefox button
    3. Click Save Link As... "to save the XPI file to your hard drive
    4. Go to the Firefox addons Manager
    5. Click on the gear
    6. Select install the addon file
    7. Open the downloaded XPI file

    This should install the addon it correctly.
    Sorry if it is difficult or impractical.

    Note: You may need to restart Firefox for the addon to be installed correctly.

  • FF cannot load certain websites, the can of EI, tried clearing history & cache, FF crashes do not sites

    In two weeks, whenever I visited the following site, FF gave me a "the connection was reset".
    Error message the connection to the server has been reset during the page loading... ». :
    http://ADP.library.UCSB.edu/index.php
    Since then, I was able to access it via IE.
    Today the same problem occurred with this site, I can also access through IE:
    http://Doo-Wop.blogg.org/

    I cleared my history and cookies, but the problem persists. I use Windows 7 and used FF 40.0.3. I've just updated to 41.0 FF, restarted FF, but find that the sites always give the same error message "connection reset".

    Thanks for any help,
    Marc

    What security software do you have?

    It is possible that your firewall or other security software blocks or limit Firefox or plugin-container process without informing you, possibly after the detection of changes (update) for the Firefox program.

    Delete all rules for Firefox and the plugin-container in the permissions list in the firewall and allow your firewall to ask permission to get access full and unrestricted, again to install for Firefox and the plugin-container and the update process.

    See:

    Start the computer in Mode safe mode with network support Windows (on the startup screen, press F8) to see if that helps.

  • Firefox cannot load site on the same machine, but can be downloaded on the same version again

    I have Firefox 3.6.13 on two Windows XP computers. I have a monitor of TED 5000 that has an internal Web site, you can get by (http://geracjgosolar.dyndns.org:1095) and it displays well on one machine but I get a white gray Panel (default background) on the other machine. IE can display fine on both.

    • "Clear the Cache": Tools > Options > advanced > network > storage (Cache) offline: 'clear now '.
    • 'Delete Cookies' of sites that cause problems: Tools > Options > privacy > Cookies: "show the Cookies".

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the Add-ons is the cause of the problem (switch to the DEFAULT theme: Tools > Modules > themes).

    • Makes no changes on the start safe mode window.

    See:

  • Z3 on WCH10 cannot load, what is the problem?

    somehow my z3 won't charge on wch10, I tried all the possible positions on the wch10, still no contact.

    wch10 itself flashes twice if he plugged into the net.

    is this a known issue?

    OK, thanks for the explanation!

  • Cannot load Windows 7 - Satellite C660 guard freezing

    Hello world.

    This is a biggy. I have a Toshiba AMD Vision Satellite C660 / C660D laptop without Windows installation disc. Last week, it has become very slow, the interface resembles that of the interface of safe mode, then finally, he became completely unresponsive, therefore, through F8 on start-up I selected the option to return to the factory settings (I have this option)

    The BACK screen appeared and started normal loading then who responded, then I rebooted only to see Windows starts for the first time and carry the load, before that I had to create a cd boot from my other laptop to reboot the system that I had lost the boot mngr.

    The last part of the installation process begins whereby a white Toshiba screen appears with a green progress bar which is responsible for some drivers (see attachment). There are 39 steps to this process and I remember before the computer should keep restart itself, but it keeps freezing after about two steps. I kept turning it off and eventually the locked system administrator accounts.

    Once more, I restarted the PC, but this time in safe mode, the operating system did in fact load in safe mode and I created a few new accounts with administrator privileges, however, I still cannot load all of the operating system because it keeps freezing during the last part of the process.

    I have very limited knowledge of loading operating systems, so any help would be greatly appreciated.

    Hello

    First of all, it was a big mistake NOT to create a recovery disk Toshiba.
    The recovery of HARD drive that you were able to start pressing F8, is only possible if the HARD drive is not defective.
    I think in your case I think that there is something wrong with the HARD drive because there was a Bishop of startup notification which means that this laptop can not find a boot manager to boot the system.

    I have no other idea about trying to reinstall the system using the Toshiba Recovery disk or another drive in Windows 7 (of course if you have one)
    If the recovery fails, you will need to investigate on how much material could be affected. I think in this case it of needed to start with HARD disk check.
    Possibly the HARD drive needs to be replaced. Of course it is possible that I m wrong part is affected, but at the first step you should check the new installation of the OS.

    A recovery disc can be ordered here:
    http://backupmedia.Toshiba.EU/landing.aspx

  • Unable to load up on my side of the administrator of the computer to load in safe mode but will not when windows loads any suggestions message cannot load profile

    When windows loads, I'm unable to load my side administrator, I get a message that does not load safe mode profile side administrator but will not load completely when in safe mode message cannot load all of the side admin suggestions am running Vista Basic

    Hi BillyM1948,

    (1) would you please provide the full error message that you receive?

    (2) remember to make changes to the computer before this problem?

    Step 1: You can follow the steps mentioned in the article below, which deals with a similar question

    Error message when you log a computer Windows Vista-based or Windows 7 by using a temporary profile: "the user profile Service has no logon. Unable to load the user profile.

    http://support.Microsoft.com/kb/947215

    Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:

    How to back up and restore the registry in Windows
    http://support.Microsoft.com/kb/322756/

    Thank you, and in what concerns:

    Ajay K

    Microsoft Answers Support Engineer

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • I need to use programming like ActionScript loop, trigger, and load the data in the movies.  I can do with AE?

    I have been producing auto generate and parameter based animations for an artist over the years using Flash.

    Like this: Zarah Hussain | Animation

    Someone asks now that we use After Effects, but I need to use programming like ActionScript loop, trigger and load data into the movies.

    I can do with AE?  We need the loading animation 3 data values that affect the colors in real time

    Is it: -.

    Flash = online and interactive

    AR = fixed and linear.

    Help!

    Cries.

    You cannot use AE for this kind of things. Outside very limited real-time EI functionality it has not yet officially a dynamic performance of preload beyond the evalFile() hack. None of this makes no sense at all.

    Mylenium

Maybe you are looking for

  • Pavilion dv7-4180us: dv7-4180us wifi upgrade

    My dv7-4180us has a Broadcom Minipci wifi card bgn and gets only 72 Mbps on my home network. I am running agn + ac on my network. I understand that the wifi options are limited by the white list in the BIOS. I've probably lap by going with a USB adap

  • All my file associations are changed to .lnk

    All my file associations are changed to .lnk what can be done to restore it?

  • Much more time gap between tracks using the latest firmware.

    Everyone has noticed there is now a gap of 5 or 6 seconds between tracks because they have updated their firmware to the latest version? It was about 1 second. Is it just me or is this a known problem? If the latter is their a workaround? Thank you v

  • The GPS Application authorization

    Hello Im getting a popup message when my application startup by pulling the coordinates for the chipset. I have never seen this anywhere in the simlator. 1.i want to replace the name of the unknown provider to my APPLICATION NAME say "XYZ". 2. is the

  • Output HDMI on my HD TV no longer works

    I have my PC running Windows 7 Ultimate Desktop connected to a standard desktop VGA monitor - more to my HDTV via HDMI. I had this Setup with an extended desktop so that I could watch videos on the big screen. However, today, I shut down my PC to mov