- This topic has 13 replies, 5 voices, and was last updated 12 years, 6 months ago by
support-swapna.
-
AuthorPosts
-
whardwickMemberI am unable to get Content Assist to work in a JSP that was recently working perfectly. I have tried restarting my machine, and I have also tried re-importing projects and creating a new workspace. The general layout of my file is below:
<%@ page import="com.mycompany.managers.Manager"%> <%@page import="java.util.*"%> <% Manager manager = new Manager(); manager.getContents(); %>
This is all at the top of the page as displayed above. If I type “manager” and hit ctr-space, I get the “Content Assist not available at the current location” error. This was happening in 6.5, just before I upgraded to 7.0 and it is still occurring.
Note that com.mycompany.managers.Manager is in a separate project, being included as a JAR file (not as classes in WEB-INF/classes).
Thanks.
whardwickMemberBumping, because I asked this question Friday with no response.
whardwickMemberThis is a serious problem and I need help. Am I not posting in the correct forum? This is now happening on a co-workers MyEclipse as well.
support-joyMemberHey whardwick,
Can you verify your content assist options under Window -> Preferences. Click on Java -> Editor -> Content Assist.
whardwickMemberHere are my settings:
support-joyMemberwhardwick,
Your content assist looks good. I am unable to reproduce this. To replicate your issue. I have created 2 sample web projects – TestWebProject and WebProject. I added the jar file of TestWebProject to WebProject/WEB-INF/lib. And I am able to see the content-assist. Please see the attached screen shot.
Attachments:
You must be logged in to view attached files.
whardwickMemberI have temporarily (hopefully permanently) fixed this issue.
support-joyMemberGood to hear whardwick!
Can you post your solution, so that other users can benefit from it? Did you move the jar file to WEB-INF/lib folder?
whardwickMemberThe solution was to build a new workspace from scratch. I do not feel like this was a good solution, as this is now happening to a co-worker as well. I think this needs to be looked into at some point.
Thanks.
support-joyMemberCan you give me pointers to reproduce at my end. As I have shown in the above screenshot content assist is working for me. I understand that you are facing this issue, but currently I cannot reproduce this at my end. If you can share a sample project where content assist doesn’t work, and also copy and paste your installation details, it will help me reproduce this issue. To share your project, I would recommend you to upload either a .zip/.rar of your project and send a mail to support@genuitec.com with this attachment. Please include ATTN: JOY in subject line and refer to this thread.
Thanks for your help.
Benjamin TosoMemberMy content assist is not functioning at all. It was previously working but stopped functioning after one of the many updates. It is not possible to specify what triggered it exactly because I do not use it all of the time and there are updates to the MyEclipse platform often.
support-joyMembermaherybe,
Sorry to hear, you are running into this issue. Can you check under Window > Preferences > Java > Editor > Content Assist under Auto-Activation if enable Auto Activation is turned on? Click on Window > Preferences > Java > Editor > Content Assist > Advanced and set the relevant configurations. You should set Enable auto activation under Window > Preferences > Ant > Editor > Content Assist.
Also set Enable auto activation under Window > Preferences > MyEclipse Enterprise Workbench > Files and Editors > Javascript > Content Assist. Let me know if this helps?
FedarkynMemberThis error exists until today.
It happens every time you create a new jsp with your application already running. if you stop your container and restart your eclipse (or make a clean and build) it gets fixed
support-swapnaModeratorFedarkyn,
I could not replicate the issue at my end on MyEclipse 10.7. I created a simple web project, deployed it to MyEclipse Tomcat. When my application is already running, I created a new JSP file and the content assist works as expected.
Can you please let us know your installation details from MyEclipse > Installation Summary > Installation Details ?
Also share with us the steps in detail to help us replicate the issue at our end.
-
AuthorPosts