Import hi.*; not working whereas: import hi.hello; is working ????!!!!
hello guys,
well it is a little bizarre . hope i can have ur help
when i do: import hi.hello everything goes OK the import is done and i can create an instance of class hello.
BUT when i write import hi.* it no more works it gives the error: file does not contain class hello ...
PLZ a little of help
class hello.java within the folder:C:\Users\User\Desktop\test2\hi NB: I added in the classpath :C:\Users\User\Desktop\test2\
package hi;
public class hello{
public void draw()
System.out.println("Hello World !");
}class hellow within the folder C:\Users\User\Desktop
import hi.*;
public class hellow{
public static void main(String args[]){
//public void draw()
hello he = new hello();
he.draw();
hope i'm clear enough
NB: import hi.hello works quite good
Similar Messages
-
Importer does not recognize already imported photos
Hello,
I have a really annoying problem with Aperture 3.0.3. The importer does not recognize already imported photos and wants to import them again and again. This is true for photos from my iPhoneand also for photos from my Nikon. If I enable "Do not import duplicates" then some photos vanish from the importer, when I the iPhone view is open. In the Nikon view not even one photo is recognized as already imported.
Also very strange is that when I have the iPhone (iOS 4.1 installed) attached to the Mac, Aperture opens the importer automatically and shows all photos correctly - but strangely, both iMac CPUs are at 100% until I click either "Cancel" or "Start import" or I disconnect the iPhone.
I tried the following without success:
- Correct permissions on media library
- Repair media library
- Rebuild media library
Imports from my iPhone last very long and seem to hang most of the time. I have to kill Aperture to make it work again all the time.
To me, it looks like there is something really messed up at the base of this program.
I have about 20000 files in my library - face recognition is not turned off - most of the preferences are at their default, I think. Did not play around very much.
Does anybody know what to do? I don't want to lose all my Projects (sorted all pictures into their own projects). But I want to work with Aperture again. When its working, it's a great tool.
Regards
AlexI've had the same problem. For some things, like videos and photos on my iPhone, I've found as many as 5 copies of the images despite keeping the 'do not import duplicates' checked.
I've also found a bug with the import function, where if I'm importing from folders on my hard drive, sometimes it finds no images at all (even if they don't exist in my library). Simply cancelling and going back into import and the miraculously appear (including images that have already been imported despite having 'do not import duplicates' checked.).
I've been going through my library deleting all the duplicates, and managed to free about 10GB of space.
Having moved from Lightroom the 'technical side' of Aperture seems very antiquated. For example, if I remove a duplicate video - then try clicking on that video in Aperture, it literally takes about 10-15 minutes of spinning disc before Aperture becomes responsive. It also often hangs up on the 'updating previews' when I quit.
Such a shame aperture is so bad. I really like the functionality - eg. having my photos automatically sync with my Apple TV, but it seems to be absolutely full of bugs. -
Why does Lightroom5.7.1 "import new" not exclude previously imported files
I connect my camera, deselect some photos, then import some photos from my first photoshoot into a folder.
When I do a second import shortly after, into a new folder, with setting "import new", all images on the camera show up, even those I just imported.
I am using Windows 7 and Lightroom 5.7.1
When I use Lightroom 3, it sucessfully detects that I previously imported some photos, and does not show them, so I can easily just import next set from second photoshoot.
Lightroom 5 "import new" simply does not work. It acts like "import all photos". Can anyone help?After upgrading to latest iTunes Windows Version, music sync still failt.
Unchecking box to sync music removed all music from iPhone.
After switching off iPhone, turning it on again and restarting iTunes and checking music sync again, all music is stored again on the iPhone as expected. -
Mouse not working when importing timeline from premiere
This actually happens in a number of Adobe operations. Sometimes I can tab from one selection to the next and get by, but with this particular operation, I can only close the window with the mouse.
I actually get past the first import as timeline window where I can select the premiere project file. I then get to select the sequence and that is when I have no mouse control within the window and
thus can not select the sequence. Using the tab or enter keys also does not work. I can only close the window. Any suggestions?Hello, I just had a problem similar to this: lines appearing everyehere, somestimes the brushdots didnt appear at all, the first line a drew = nothing, second line drew = first line. It was really wierd.
I tried almost everything, from re-installing PS, Going back to vanilla settings, reistalling mouse drivers. But nothing of that worked.
BUT I FINALLY I FOUND A SOLUTION! and it was so easy and obvius that i behind it.
All I had to do was to update my graphicscard driver! Yeah...
I hope it works for you to.
best of luck.
Update NVIDIA driver: http://www.nvidia.com/Download/Scansg.aspx?lang=en-us
Or
Update ATI driver: http://sites.amd.com/us/game/downloads/Pages/downloads.aspx
(If you have the latest driver allready, just re.istall them).
P.S. sorry if my english was a little bad. -
I cannot close or import or any function to iphoto. I have been getting the same message for many days "Photos are being imported to the photo library. Please wait for import to complete." I do not know where the photos would be importing from. How do I get it to proceed?
After Force Quitting, as LarryHN recommended,
Select the iPhoto Library in the Finder. By default it is in your Pictures folder.
Ctrl-click or right-click the iPhoto lIbrary. Select "Show package contents" from the panel, that will pop up.
Look for a folder named "Importing" or "Import". Remove this folder, but don't touch anything else.
Then launch iPhoto again.
If iPhoto now is working again, check the folder you removed, if there are any photos that you want to keep and save them. -
Audio CD import is not working the cd is ejected before itunes can read it
audio CD import is not working the cd is ejected before itunes can read it. Does anyone know how to fix this?
LaineyDoes this happen with all cd's or one in particular?
Reset the SMC http://support.apple.com/kb/HT3964
Reset the PRAM http://support.apple.com/kb/HT1379
Try a cleaning disc. You can get them at places like Radio Shack.
If nothing helps your optical drive has probably failed. You can replace it or purchase an inexpensive external drive. Don't buy the Apple SuperDrive as it won't work with macs that have a built in drive. -
Datapump Import is not working
Database version :- 10.2.0.1.0
Platform : -Windows @2003 EE SP 3
I am Trying with datarefresh using data pump. Export was successfull, but import to a different schema is failed.
C:\>expdp hr/hr schemas=hr directory=test_dir dumpfile=hr020608.dmp logfile=hr020608.log
Export: Release 10.2.0.1.0 - Production on Monday, 02 June, 2008 11:29:54
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
Starting "HR"."SYS_EXPORT_SCHEMA_01": hr/******** schemas=hr directory=test_dir dumpfile=hr020608.dmp logfile=hr020608.log
Estimate in progress using BLOCKS method...
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 448 KB
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE
Processing object type SCHEMA_EXPORT/TABLE/TABLE
Processing object type SCHEMA_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT
Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
Processing object type SCHEMA_EXPORT/TABLE/COMMENT
Processing object type SCHEMA_EXPORT/PROCEDURE/PROCEDURE
Processing object type SCHEMA_EXPORT/PROCEDURE/ALTER_PROCEDURE
Processing object type SCHEMA_EXPORT/VIEW/VIEW
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
Processing object type SCHEMA_EXPORT/TABLE/TRIGGER
Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
. . exported "HR"."COUNTRIES" 6.093 KB 25 rows
. . exported "HR"."DEPARTMENTS" 6.640 KB 27 rows
. . exported "HR"."EMPLOYEES" 15.77 KB 107 rows
. . exported "HR"."JOBS" 6.609 KB 19 rows
. . exported "HR"."JOB_HISTORY" 6.585 KB 10 rows
. . exported "HR"."LOCATIONS" 7.710 KB 23 rows
. . exported "HR"."REGIONS" 5.296 KB 4 rows
Master table "HR"."SYS_EXPORT_SCHEMA_01" successfully loaded/unloaded
Dump file set for HR.SYS_EXPORT_SCHEMA_01 is:
C:\TEMP\HR020608.DMP
==========================================
Import
===========================================
C:\>impdp scott/tiger schemas=hr directory=test_dir dumpfile=hr020608.dmp logfile=hrimp020608.log
Import: Release 10.2.0.1.0 - Production on Monday, 02 June, 2008 12:58:02
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
Master table "SCOTT"."SYS_IMPORT_SCHEMA_01" successfully loaded/unloaded
Starting "SCOTT"."SYS_IMPORT_SCHEMA_01": scott/******** schemas=hr directory=test_dir dumpfile=hr020608.dmp logfile=hrimp020608.log
ORA-39126: Worker unexpected fatal error in KUPW$WORKER.LOAD_METADATA [TABLE_DATA:"SCOTT"."SYS_IMPORT_SCHEMA_01"]
SELECT process_order, flags, xml_clob, NVL(dump_fileid, :1), NVL(dump_position, :2), dump_length, dump_allocation, grantor, object_row, object_schema, object_long_name, processing_status, processing_s
tate, base_object_type, base_object_schema, base_object_name, property, size_estimate, in_progress FROM "SCOTT"."SYS_IMPORT_SCHEMA_01" WHERE process_order between :3 AND :4 AND processing_state <> :5
AND duplicate = 0 ORDER BY process_order
ORA-03212: Temporary Segment cannot be created in locally-managed tablespace
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
ORA-06512: at "SYS.KUPW$WORKER", line 6279
----- PL/SQL Call Stack -----
object line object
handle number name
1DB41780 14916 package body SYS.KUPW$WORKER
1DB41780 6300 package body SYS.KUPW$WORKER
1DB41780 3514 package body SYS.KUPW$WORKER
1DB41780 6889 package body SYS.KUPW$WORKER
1DB41780 1262 package body SYS.KUPW$WORKER
1A8E3D94 2 anonymous block
Job "SCOTT"."SYS_IMPORT_SCHEMA_01" stopped due to fatal error at 12:58:08
Please help me on this, whether it can be possible to the same schema or can be to a different one
Thank you
Johnson P GerorgeORA-03212: Temporary Segment cannot be created in locally-managed tablespace
Cause: Attempt to create a temporary segment for sort/hash/lobs in in permanent tablespace of kind locally-managed
Action: Alter temporary tablespace of user to a temporary tablespace or a dictionary-managed permanent tablespace
Does this database have a default temporary tablespace for all users? -
FDMEE import script not working
Hi,
I had a simple import script in FDM Classic that was removing every lines of data from a source file for every amount lower than 0.50 and higher than-0.50. The FDM Classic import script was:
Function Remove_50(strField, strRecord)
'Purpose: To skip lines of data Between -0.50 AND
0.50
If IsNumeric(strField) Then
If Abs(strField) <= 0.50 Then
RES.PblnSkip = True
Else
'Keep line:
Remove_50 = strField
End If
End If
End Function
Now, I have to convert it to FDMEE Jython. Here is my first try:
def PSA_Remove_50 ( strField, strRecord ):
if abs(strField) <= 0.50:
return 0
else:
return strField
Very simple import script but it is giving me a headache :Oo
Thanks for your help!
DanI'd also say to stick with the BigDecimal data type unless you have a really good reason for using the float data type. If you start to multiply floats then you can end up with horrors like this if you're not careful where inaccuracies can start to creep in:
>>> f = float(1.1)
>>> f*1
1.1
>>> f*2
2.2
>>> f*3
3.3000000000000003
That's just something to be aware of if you decide to take the float route -
CAN NOT IMPORT BUSINESS AREA AS IT SAYS - JOINS NOT FOUND WHERE REQUIRED
We have recently migrated from Disco 4.1.48.08 to 10.1.2
Everything looks ok - we are able to look at existing workbooks and business areas. And we can export business areas successfully.
However
When we try to import some business areas it returns - JOINS NOT FOUND WHERE REQUIRED and fails. This is now causing a problem with how we promote from our test/uat and prod environments.
any ideas ?Here's some information from Support that helped me...
Discoverer has many options on exporting and importing objects. Entire End User Layers, Entire Business Areas or only selected objects could be exported. To simplify the process of exporting and importing Business Areas, it is suggested that the export and import process should be done with entire Business Areas. The reason why it is not recommended that selected objects are exported and imported as a norm is to simplify maintenance.
It is still possible to export and import selected objects, but a knowledgeable Administrator is recommended to head the procedure. The process could get
very complex and difficult to manage.
Some Additional Notes:
- Join conditions are exported, but are not indicated as an object. Join conditions are only exported ** if ** the joining folders are exported.
- If the ‘refresh’ option is performed in Discoverer Administrator on an object and the underlying object on the database is not available, the object is dropped from the EUL. It is of utmost importance that the objects exist on the underlying database before the ‘refresh’ option is executed.
- Functions and Workbooks are not exported when exporting an entire Business Area. Functions and Workbooks have to be exported separately.
The first bullet is what was giving me this error "JOINS NOT FOUND WHERE REQUIRED". I was unable to do a full export - another unrelated error, so I came up with an alternate solution. I created a new BA that only contained the standard folders that my two custom BA's referenced - by JOINS and inclusion in my complex folders. I exported all 3 and they imported into the new instance with no issue.
Jewell -
Setting Workflow status not working in imported workflow from SPD to Visual Studio
Hi all,
I have created SPD workflow and imported in visual studio. When I deploy imported Workflow using visual studio feature I found that Setting Workflow Status action is not working. Do I need to change Set Workflow status activity in Visual studio to make it
work.
Rohit PasrijaHi,
According to your post, my understanding is that Setting Workflow status did not work in imported workflow from SharePoint Designer to Visual Studio.
I try to reproduce the issue and the result is the same as yours.
After I import the workflow, choose the .xoml file, the view is as below:
To troubleshooting the issue, I add a new item to the project and select “Sequential Workflow” in the template.
After I click the Tool, I find that there don’t have the “SetCustomWorkflowStatus1” activity.
To set the status of the state, we need to use the “Set State” Activity in the “SharePoint Workflow” toolbar.
That is the reason why the “SetCustomWorkflowStatus1” activity does no work.
More information:
Apply Custom Values to Visual Studio Workflow Statuses
Thanks,
Linda Li
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Linda Li
TechNet Community Support -
Import Assistant not working.
Hi. I'm using JDeveloper 9.0.5.2 and I can not get the Import Assistance feature to work. Suppose I type in the following:
public class CC
URL u;
The text "URL" is indeed underlined, showing me that I have a problem but no Import Assitance drop-down list is ever given. Even if I place my cursor on URL and hit Alt+Enter, nothing happens.
I have checked my Preference and the check boxes in Code Editor>Java>Imports are checked.
Any thoughts on what could be wrong?
Thanks,
Leonard Armstrong
[email protected]I don't think that's going to help.
Try and see.
When the java compiler looks for a class
pkg1.Subclass1 it looks for pkg1\Subclass1.java
relative to the current directory and
pkg1\Subclass1.class relative to each directory on
the classpath.
When the javac compiler (at least version 1.4) looks for a dependent class, it looks in the Classpath directories. It only looks relative to the current directory if the current directory is in the Classpath. When it looks for a dependent class, it looks for both .java and .class files. If it only finds a .java file or the .java file is newer than a .class file, it will try to compile the file.
You need to compile from the directory above
pkg1, in this case (unfortunately) d:\
This makes it sound like it is a requirement to compile from the directory. It isn't required. -
Hi,
I just switched to Weblogic from anotehr appserver. I have a JSP page (sample
given below) and I am trying to import the header for the EJBs that I will be
using. For a simple thing as this which i have been doing for a while now, it
did not work. It cannot find the EJB references that I am giving although EJBs
are deployed and working. I appreciate if you could comment:
// none of these are recognized...
<%@ page import="Aggregation.*" %>
<%@ page import="Aggregation.AggRegisterHome" %>
<%@ page import="Aggregation.AggRegister" %>
<%@ page import="javax.naming.Context" %>
<%@ page import="javax.naming.InitialContext" %>
<%@ page import="javax.naming.NamingException" %>
<%@ page import="javax.rmi.PortableRemoteObject" %>
Which WebLogic version are you using? If 6.x then you need to deploy your ejb's and
web component in a single ear, or copy client classes to WEB-INF/classes or lib.
Burkan <[email protected]> wrote:
> Hi,
> I just switched to Weblogic from anotehr appserver. I have a JSP page (sample
> given below) and I am trying to import the header for the EJBs that I will be
> using. For a simple thing as this which i have been doing for a while now, it
> did not work. It cannot find the EJB references that I am giving although EJBs
> are deployed and working. I appreciate if you could comment:
> // none of these are recognized...
> <%@ page import="Aggregation.*" %>
> <%@ page import="Aggregation.AggRegisterHome" %>
> <%@ page import="Aggregation.AggRegister" %>
> /////////////////////////////////////////////////////
> <%@ page import="javax.naming.Context" %>
> <%@ page import="javax.naming.InitialContext" %>
> <%@ page import="javax.naming.NamingException" %>
> <%@ page import="javax.rmi.PortableRemoteObject" %>
>
Dimitri
-
Import Favorites not working, what next?
Firefox only imported 2 folders from my Internet Explorer favorites. I tried manually several times but it continues to only import the same 2 folders.
Can I just copy the favorites in explorer and paste onto the correct firefox file?
If so, where do I find that file?
ALSO one explorer feature I love to use is the favorite toolbar, how do I add that to firefox?If there are problems with importing the IE Favorites in Firefox then export the favorites in IE to an HTML file and import that file in the Firefox Bookmarks Manager.
If you do not have the menu bar in IE then right-click the toolbar at the top to enable the Menu Bar.
*Export the favorites in IE to an HTML file (bookmarks.html):<br>File > Import and Export
*Import the HTML file in Firefox:<br>Bookmarks > Show All Bookmarks > Import & Backup > Import Bookmarks from HTML
See "Import from another browser" and "Import from file":
*http://kb.mozillazine.org/Import_bookmarks -
I tried to import photos by dragging a group of them to an album and the import started, but does not finish. When I press stop import, it does not respond. How do I fix this? I think that it happened with iphone pictures, but could have been a SD card from my camera, and I ejected it before it finished since I could not get the import to work or stop.
Force Quit the app - it's under the Apple menu.
-
i can import the cd fine but can not get track names or album art work. after going into advanced it is just coming up with "CDDB information not available"
thank youUse the trackpad to scroll, thats what it was designed for. The scroll bars automatically disappear when not being used and will appear if you scroll up or down using the trackpad.
This is a user-to-user forum and most people will post on here if they have problems. You very rarely get people posting to say there update went smooth. The fact is the vast majority of Mountain Lion users will not be experiencing any major problems with the OS, or maybe with apps which are not compatible, but thats hardly Apple's fault if developers don't update their apps.
Maybe you are looking for
-
After completing my upgrade to Adobe Reader 11.0.10. when I attempt to save an online PDF to my local drive I receive a blank window where I would expect to see file directory structure to save to. No local directories are displayed for "Saving To",
-
Is there any way to position sticky notes icon more accurately on the page? Default anchor point of the note is the center of an icon, not the tip of the arrow below or some corner. Consequently, the icon covers some of the text or small graphics and
-
Question about using enumeration in a program
I've seen some of the other posts about enumeration in this forum, but it does not address a particular question that I have. What I'm attempting to do, is to enumarate some SMTP server response codes so that I can effectively use them in a switch. I
-
Hi Guys, Suddenly my application throwing below error at "baseline" script run time. Please provide the remedy for it, [01.27.14 17:51:03] INFO: Definition has not changed. [01.27.14 17:51:03] INFO: Starting baseline update script. [01.2
-
Can anyone please tell me where the preference is that controls the scaling of effects? I recently had to enlarge an ad by 1000% for a display banner but when I entered the 1000% scale the effects didn't scale with the objects. I had to do things man