2017-09-28

Access restriction: The type 'JPEGCodec' is not API (restriction on required library 'C:\Program Files\Java\jdk1.6.0_45\jre\lib\rt.jar')




Found solution at: https://stackoverflow.com/questions/9266632/access-restriction-is-not-accessible-due-to-restriction-on-required-library


I ran into something similar, I think that the cause of the warning is Eclipse trying to discourage you from using the internal com.sun packages that are installed as part of your workspace JRE but which are not part of the public Java API.
As Justin says in his answer, changing your compiler settings can hide the warning. A more fine-grained approach is to modify your build path to explicitly allow access to the package in question:
  1. Open the Libraries tab of the Java Build Path project property window.
  2. Expand the JRE System Library entry.
  3. Select "Access rules" and hit the Edit button.
  4. Click the Add button in the resulting dialog.
  5. For the new access rule, set the resolution to Accessible and the pattern to "com/sun/xml/internal/**".
After adding this access rule, your project should build without these warning.

2017-09-26

JAR libraries was not in maven repository.




Summary:

  1. Added Web App Libraries are to resolve eClipse IDE classes/jars unresolve issue.
  2. Assign Web App Libraries to [Native library location] are to resolve run as maven install, cannot find symbol



regEx - Regular Expression to exclude set of Keywords




RegEx format:
^(?:(?!.SearchText1|SearchText2|SearchText 3|Search Text\|4|SearchText5).)*$\r?\n?


^(?:(?!.No such file or directory|Permission denied|recursive directory loop|Operation not supported on socket).)*$\r?\n?

^(?:(?!.1.2|1.3|1.1.1|appVerision\|null|1.0).)*$\r?\n?


2017-09-25

The following error occurred while importing IMG_XXXX.JPG: A device attached to the system is not functioning.


My case was connected to the fast charging port of the laptop.

Message won't pop up anymore after change to normal USB of the laptop.