Question: I am trying to fetch images tags from a specific div in a web page. Here is the web page link [page link](http://www.aliexpress.com/item/Free-Shipping-Luxury-New-Fashion-Anna-su-3D-Blink-Diamond-Crystal-Pearl-Flowers-For-iPhone-4G/1951144778.html?spm=2114.11010108.13.4.uQlqFV)

I have used this code:

```
var webGet = new HtmlWeb(); 
var document = webGet.Load(txt.Text);
var infos = from info in document.DocumentNode.SelectNodes("//div[@id='custom-description']")
            from link in info.SelectNodes("img").Where(x => x.Attributes.Contains("src"))
            select new 
            {
                LinkURL = link.Attributes["src"].Value
            };
lbl.Text = infos.ToString();

```

but it returns null value. 
Please tell me whats wrong in this code. 
Thanks in advance

Answer: 
Check your compliance settings in:

> 
> Preferences > Java > Compiler
> 
> 
> 

Make sure the default is set to 1.7 as it may have defaulted to 1.8 after the initial install/run.

Also check project-specific compliance settings in:

> 
> (Project) Properties > Java Compiler
> 
> 
>
1. Go to Windows >> Preferences>>Compiler >> Unselect default
compliance settings >> select the compiler compliance level to 1.8
2. This should reflect in generated .class files compatibility
as 1.8 and source compatibility as 1.8 Step Step
3. Apply it Step
4. now click on apply and close
5. clean and build the project.